Skip to content

Commit

Permalink
feat: add deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
singuerinc committed May 30, 2021
1 parent bdb1ce5 commit 0e5acdf
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: deploy website
on: [release]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: amondnet/vercel-action@v20
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
vercel-args: "--prod"
vercel-org-id: ${{ secrets.ORG_ID}}
vercel-project-id: ${{ secrets.PROJECT_ID}}
working-directory: ./sub-directory

0 comments on commit 0e5acdf

Please sign in to comment.