Skip to content

Commit

Permalink
Maybe with redeploy?
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyshew committed Aug 6, 2024
1 parent 07bd30a commit 12de8ad
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/deploy-docs-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,8 @@ jobs:
- name: Install Vercel CLI
run: npm install --global vercel@latest

- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}

- name: Build Project Artifacts
run: vercel deploy --token=${{ secrets.VERCEL_TOKEN }}
- name: Create preview deployment
run: vercel redeploy turbo.build --token=${{ secrets.VERCEL_TOKEN }}

deploy-production:
runs-on: ubuntu-latest
Expand All @@ -43,8 +40,5 @@ jobs:
- name: Install Vercel CLI
run: npm install --global vercel@latest

- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}

- name: Build Project Artifacts
run: vercel deploy --prod --token=${{ secrets.VERCEL_TOKEN }}
- name: Create production deployment
run: vercel redeploy turbo.build --token=${{ secrets.VERCEL_TOKEN }}

0 comments on commit 12de8ad

Please sign in to comment.