Skip to content

Commit

Permalink
Update Deploy Preview.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rLukoyanov authored Aug 7, 2024
1 parent e40f203 commit 9bc1530
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Deploy Preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
- name: Build application
run: npm run build

- name: Deploy to Vercel
- name: Deploy to Vercel
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
run: |
DEPLOY_URL=$(npx vercel --prod --token $VERCEL_TOKEN --org-id $VERCEL_ORG_ID --project-id $VERCEL_PROJECT_ID --confirm | tail -n 1)
DEPLOY_URL=$(npx vercel --prod --token $VERCEL_TOKEN --confirm | tail -n 1)
echo "Vercel Deployment URL: $DEPLOY_URL"
echo "DEPLOY_URL=$DEPLOY_URL" >> $GITHUB_ENV
id: vercel-deploy
Expand Down

0 comments on commit 9bc1530

Please sign in to comment.