Skip to content

Commit

Permalink
Deploy and assign domain
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasRada committed Aug 15, 2024
1 parent 40ebfed commit 1edd5fd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ jobs:
- name: Install Vercel CLI
run: npm install --global vercel@latest
- name: Pull Vercel environment information
run: vercel pull --yes --scope ${{ secrets.VERCEL_TEAM_ID }} --token=${{ secrets.VERCEL_TOKEN }}
run: vercel pull --yes --scope=${{ secrets.VERCEL_TEAM_ID }} --token=${{ secrets.VERCEL_TOKEN }}
- name: Build project artifacts
run: vercel build --scope ${{ secrets.VERCEL_TEAM_ID }} --token=${{ secrets.VERCEL_TOKEN }}
run: vercel build --scope=${{ secrets.VERCEL_TEAM_ID }} --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy
run: vercel deploy --scope ${{ secrets.VERCEL_TEAM_ID }} --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
run: |
vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} > domain.txt
vercel alias --scope=${{ secrets.VERCEL_TEAM_ID }} --token=${{ secrets.VERCEL_TOKEN }} set `cat domain.txt` rangee-example.vercel.app

0 comments on commit 1edd5fd

Please sign in to comment.