chore(deps): update dependency cypress to 13.8 #569
Workflow file for this run
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 - preview deployment on push to feature branch | |
on: | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
env: | |
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} | |
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} | |
jobs: | |
deploy-code: | |
permissions: | |
deployments: write | |
name: Deploy to Vercel - preview | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Vercel CLI | |
run: npm install --global vercel@latest | |
- name: Deploy to Vercel - preview | |
run: | | |
vercel deploy --token=${{ secrets.VERCEL_TOKEN }} > deployment-url.txt | |
echo "DEPLOYMENT_URL=$(cat deployment-url.txt)" >> $GITHUB_ENV | |
- name: Create GitHub deployment | |
uses: chrnorm/deployment-action@v2 | |
id: deployment | |
with: | |
token: "${{ github.token }}" | |
environment-url: ${{ env.DEPLOYMENT_URL}} | |
environment: preview | |
- name: Update GitHub deployment status | |
uses: chrnorm/deployment-status@v2 | |
with: | |
token: "${{ github.token }}" | |
environment-url: ${{ env.DEPLOYMENT_URL}} | |
state: "success" | |
deployment-id: ${{ steps.deployment.outputs.deployment_id }} |