mirror of https://github.com/msgbyte/tailchat
chore: add nightly build
parent
3ba61fe5b6
commit
092524b9e5
@ -0,0 +1,23 @@
|
|||||||
|
name: "deploy nightly"
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Deploy Prod
|
||||||
|
if: github.ref == 'refs/heads/docs' # is docs branch
|
||||||
|
uses: amondnet/vercel-action@master
|
||||||
|
with:
|
||||||
|
vercel-token: ${{ secrets.VERCEL_TOKEN }}
|
||||||
|
vercel-org-id: ${{ secrets.ORG_ID}}
|
||||||
|
vercel-project-id: ${{ secrets.PROJECT_ID}}
|
||||||
|
working-directory: ./
|
||||||
|
vercel-args: '--prod'
|
Loading…
Reference in New Issue