chore(deps): update dependency @types/web to ^0.0.194 #284
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Vercel Deploy | |
on: | |
push: | |
branches: | |
- main | |
pull_request_target: null | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js 16 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Check Branch | |
id: branch | |
if: ${{ github.ref == 'refs/heads/main' }} | |
run: | | |
echo "::set-output name=args::--prod" | |
echo "::set-output name=comment::false" | |
- name: Deploy | |
uses: amondnet/vercel-action@v25 | |
with: | |
vercel-args: ${{ steps.branch.outputs.args }} | |
vercel-token: ${{ secrets.VERCEL_TOKEN }} | |
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }} | |
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }} | |
github-comment: ${{ steps.branch.outputs.comment != 'false' }} | |
github-token: ${{ secrets.GITHUB_TOKEN }} |