Skip to content

Commit

Permalink
include deployment url to release
Browse files Browse the repository at this point in the history
  • Loading branch information
zardoy committed Sep 26, 2023
1 parent c7f3593 commit 03396bb
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,13 @@ jobs:
- run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
# will install + build to .vercel/output/static
- run: vercel build --token=${{ secrets.VERCEL_TOKEN }} --prod
- run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} --prod
- run: pnpx zardoy-release node
- name: Deploy Project to Vercel
uses: mathiasvr/[email protected]
with:
run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} --prod
id: deploy
- run: |
pnpx zardoy-release node --footer "This release URL: ${{ steps.deploy.outputs.stdout }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: cp vercel.json .vercel/output/static/vercel.json
Expand Down

0 comments on commit 03396bb

Please sign in to comment.