Skip to content

Commit

Permalink
Use different ref
Browse files Browse the repository at this point in the history
  • Loading branch information
matthijsln committed Sep 13, 2023
1 parent 54964ea commit 2c8a9f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/close-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,15 @@ jobs:
docker compose config
docker compose down --rmi all --volumes --remove-orphans
- name: 'GitHub Slug Action'
uses: rlespinasse/github-slug-action@v4

- name: 'Remove GitHub deployment and environment'
if: ${{ always() }}
uses: strumwolf/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: "${{ secrets.GITHUB_TOKEN }}"
environment: test
onlyRemoveDeployments: true
ref: ${{ env.VERSION_TAG }}
ref: "${{ env.GITHUB_HEAD_REF }}"

2 changes: 1 addition & 1 deletion .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,4 +167,4 @@ jobs:
description: "Deployment for ${{ env.VERSION }}"
environment: test
initial-status: success
ref: ${{ env.VERSION }}
ref: "${{ env.GITHUB_HEAD_REF }}"

0 comments on commit 2c8a9f3

Please sign in to comment.