Skip to content

Commit

Permalink
ci: echo url
Browse files Browse the repository at this point in the history
  • Loading branch information
Sceat committed Jul 2, 2024
1 parent b671904 commit edb53ea
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: npm install -g vercel

- name: Pull Vercel project settings
run: vercel pull --scope aresrpg --yes --token ${{ secrets.VERCEL_TOKEN }}
run: vercel pull --scope=aresrpg --yes --token ${{ secrets.VERCEL_TOKEN }}
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
Expand All @@ -48,16 +48,17 @@ jobs:

- name: Deploy to Vercel (Production)
if: startsWith(github.ref, 'refs/tags/mainnet-')
run: vercel deploy --scope aresrpg --prebuilt --prod --token ${{ secrets.VERCEL_TOKEN }}
run: vercel deploy --scope=aresrpg --prebuilt --prod --token ${{ secrets.VERCEL_TOKEN }}
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}

- name: Deploy to Vercel (Testnet)
if: startsWith(github.ref, 'refs/tags/testnet-')
run: |
url=$(vercel deploy --scope aresrpg --prebuilt --token ${{ secrets.VERCEL_TOKEN }})
vercel alias set $url testnet.aresrpg.world --scope aresrpg --token ${{ secrets.VERCEL_TOKEN }}
url=$(vercel deploy --scope=aresrpg --prebuilt --token ${{ secrets.VERCEL_TOKEN }})
echo $url
vercel alias set $url testnet.aresrpg.world --scope=aresrpg --token ${{ secrets.VERCEL_TOKEN }}
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}

0 comments on commit edb53ea

Please sign in to comment.