Skip to content

Commit

Permalink
add repo name to metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghislain89 committed Jun 10, 2024
1 parent f2fe468 commit 0fb21f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

jobs:
deploy:
if: ${{ github.repository_owner == 'kadena-community' }} // Prevents auto deploying forks.

environment:
name: Docs - Preview
Expand Down Expand Up @@ -57,7 +58,7 @@ jobs:

- name: Deploy Project Artifacts to Vercel
if: steps.detectChanges.outputs.changed == 'true'
run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} --archive=tgz --meta pr_number=${{ github.event.number }} | tee deploy.log
run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} --archive=tgz --meta pr_data=${{ github.event.repository.name }}-${{ github.event.number }} | tee deploy.log

- name: Set preview url
if: steps.detectChanges.outputs.changed == 'true'
Expand Down

0 comments on commit 0fb21f7

Please sign in to comment.