-
Notifications
You must be signed in to change notification settings - Fork 291
Use deploy-to-vercel-action instead of vercel cli #1026
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -37,15 +37,17 @@ jobs: | |
| tar -xf iota.tar | ||
| tar -xf shimmer.tar | ||
| tar -xf next.tar | ||
| # Convert to Vercel project and upload | ||
| - 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 build --prod --token=${{ secrets.VERCEL_TOKEN }} | ||
| - name: Deploy Project Artifacts to Vercel | ||
| run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }} | ||
| # Deploy to Vercel | ||
| - name: Deploy to Vercel Action | ||
| uses: BetaHuhn/deploy-to-vercel-action@v1 | ||
| with: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} | ||
| VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} | ||
| VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} | ||
| PR_LABELS: false | ||
|
Dr-Electron marked this conversation as resolved.
|
||
| PRODUCTION: true | ||
| PREBUILT: true | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is not going to work because neither
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good catch. Thanks for that. We can just wait for the next release or add the latest changes from the repo.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, after the restructure we will have a much less complex build, so we might go back to a more vanilla Vercel workflow anyway.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok. Will convert this to a DRAFT in the meantime. @VmMad thanks for your help ❤️
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You're welcome! 😃 |
||
| # Trigger Algolia crawler | ||
| - name: Crawl | ||
| run: | | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.