Added Email functionality to Contact Us Page #42
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: Create vercel preview URL on pull request | |
on: | |
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 | |
with: | |
vercel-token: ${{ secrets.VERCEL_TOKEN }} | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
vercel-org-id: ${{ secrets.ORG_ID}} | |
vercel-project-id: ${{ secrets.PROJECT_ID}} | |
- name: preview-url | |
run: | | |
echo ${{ steps.vercel-deploy.outputs.preview-url }} |