Skip to content

Commit

Permalink
PR dev deployment workflow fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thedevyashsaini committed Jul 26, 2024
1 parent cc20124 commit 9f3c42d
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/vercelPullRequest.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
name: Create vercel preview URL on pull request
on:
pull_request:
pull_request_target:
branches:
- new
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: trstringer/manual-approval@v1
timeout-minutes: 240
with:
secret: ${{ github.TOKEN }}
approvers: thedevyashsaini # GitHub username of the approver
minimum-approvals: 1
issue-title: "Deploying PR to dev from staging"
issue-body: "Please approve or deny the deployment of this PR."
exclude-workflow-initiator-as-approver: true
additional-approved-words: ''
additional-denied-words: ''
- uses: actions/checkout@v4
- uses: amondnet/vercel-action@v25
id: vercel-deploy
Expand Down

1 comment on commit 9f3c42d

@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 iiitvcc ready!

✅ Preview
https://iiitvcc-5eh9gceji-iiitv-coding-clubs-projects.vercel.app

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

Please sign in to comment.