Skip to content

Commit

Permalink
Create vercel-action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ImNotRog authored Nov 21, 2023
1 parent 0f00fdb commit 0823972
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/vercel-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# vercel-merge.yml
name: Deploy to vercel on merge
on:
push:
branches:
- main
jobs:
build_and_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}}

1 comment on commit 0823972

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for gunnhacks10 ready!

✅ Preview
https://gunnhacks10-9k679tzx4-imnotrog.vercel.app

Built with commit 0823972.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.