Only post URL when PR is opened

This commit is contained in:
Andreas Svanberg 2024-10-31 14:32:04 +01:00
parent 05d11475b3
commit 785faaacbb

@ -13,6 +13,7 @@ jobs:
compose-file: 'compose-branch.yaml'
- name: Post URL to deployment as comment
uses: actions/github-script@v7
if: github.event.action == 'opened'
env:
BRANCH_URL: ${{ steps.deploy.outputs.url }}
with: