diff --git a/.gitea/workflows/write-new-template.yml b/.gitea/workflows/write-new-template.yml index 614162e..607a62d 100644 --- a/.gitea/workflows/write-new-template.yml +++ b/.gitea/workflows/write-new-template.yml @@ -37,3 +37,9 @@ jobs: "head": "template-extraction-${{ github.run_number }}", "base": "main" }' + + - name: Delete Branch + run: | + curl -X DELETE \ + "https://git.alexav.gg/api/v1/repos/alex/homelab/branches/template-extraction-${{ github.run_number }}" \ + -H "Authorization: token ${{ secrets.TOKEN }}"