mirror of https://github.com/msgbyte/tailchat
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
699 B
YAML
32 lines
699 B
YAML
2 years ago
|
name: "Deployment Tailchat Github App"
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- master
|
||
|
paths:
|
||
|
- "app/github-app/**"
|
||
|
workflow_dispatch:
|
||
|
|
||
|
jobs:
|
||
|
deploy:
|
||
|
runs-on: ubuntu-latest
|
||
|
strategy:
|
||
|
matrix:
|
||
|
node-version: [16.x]
|
||
|
defaults:
|
||
|
run:
|
||
|
working-directory: app/github-app
|
||
|
steps:
|
||
|
- uses: actions/checkout@v1
|
||
|
- name: Deploy to Vercel
|
||
|
uses: amondnet/vercel-action@master
|
||
|
env:
|
||
|
VERSION: ${{ env.GITHUB_SHA }}
|
||
|
with:
|
||
|
vercel-token: ${{ secrets.VERCEL_TOKEN }}
|
||
|
vercel-org-id: ${{ secrets.ORG_ID}}
|
||
|
vercel-project-id: prj_KwCzbuSaEj3XmP0sYvvnqqiK7nCW
|
||
|
working-directory: ./
|
||
|
vercel-args: '--prod'
|