chore(deps): update dependency @types/node to ^18.19.65 #310
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 | |
# eslint-disable-next-line yml/no-empty-mapping-value | |
pull_request: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- 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 }} |