Skip to content

Commit

Permalink
announce URL only on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
TomConner committed Dec 5, 2023
1 parent 2623984 commit 40ee684
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish-drafts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
keep_files: true

- name: Announce Deployed URL to Pull Request
if: github.event_name == 'pull_request'
run: |
pages_url=$(gh api repos/${{ github.repository }}/pages | jq -r '.html_url')
gh pr comment ${{ github.event.pull_request.number }} \
Expand Down

0 comments on commit 40ee684

Please sign in to comment.