Skip to content

Commit

Permalink
ci: delete instance URL comment when destroying
Browse files Browse the repository at this point in the history
  • Loading branch information
radnov committed Oct 27, 2023
1 parent 6f8f91a commit 3aadbab
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/destroy-instance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,9 @@ jobs:
IM_HOST: 'https://api.im.dhis2.org'
INSTANCE_NAME: pr-${{ github.event.number }}
run: ./findByName.sh dev $INSTANCE_NAME && ./destroy.sh dev $INSTANCE_NAME

- name: Delete instance URL comment
uses: actions-cool/maintain-one-comment@v3
with:
body: "Instance deployed to https://dev.im.dhis2.org/pr-${{ github.event.pull_request.number }}"
delete: true

0 comments on commit 3aadbab

Please sign in to comment.