Skip to content

Commit

Permalink
ci: fix preview deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelarbibe committed Jun 29, 2024
1 parent e43f920 commit 21f70e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
types: [opened, synchronize]

jobs:
deploy_production:
deploy_preview:
uses: ./.github/workflows/deploy-examples.yml
with:
environment: Preview
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
run: npm install --global vercel@latest
- name: Deploy to Vercel
id: deploy
run: echo "url=$(vercel --prod=${{ inputs.isProd }} --yes --token=${{ secrets.VERCEL_TOKEN }})" >> "$GITHUB_OUTPUT"
run: echo "url=$(vercel ${{ inputs.isProd && '--prod' }} --yes --token=${{ secrets.VERCEL_TOKEN }})" >> "$GITHUB_OUTPUT"

0 comments on commit 21f70e4

Please sign in to comment.