Update .github/workflows/delete_packages.yml
Some checks failed
Build Docker Image / build_docker (push) Failing after 2m55s
Lint / run (push) Failing after 55s
Build, check & Test / run (push) Successful in 8m49s

This commit is contained in:
Florian Bouillon 2024-05-24 06:39:05 +00:00
parent 6825866f4d
commit 96a2741e4a

View File

@ -25,7 +25,10 @@ jobs:
run: | run: |
curl --fail -X 'DELETE' "https://git.dzeio.com/api/v1/packages/${GROUP}/${TYPE}/${PACKAGE}/${VERSION}" -H 'accept: application/json' -H "Authorization: token ${TOKEN}" curl --fail -X 'DELETE' "https://git.dzeio.com/api/v1/packages/${GROUP}/${TYPE}/${PACKAGE}/${VERSION}" -H 'accept: application/json' -H "Authorization: token ${TOKEN}"
env: env:
VERSION: pr-${{ github.event.number }} # Gitea
VERSION: pr-${{ github.event.number }}-head
# Github
# VERSION: pr-${{ github.event.number }}
branch: branch:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Delete the package on a deleted branch name: Delete the package on a deleted branch