Skip to content

Commit

Permalink
ci(workflows): add delete-release-branch job
Browse files Browse the repository at this point in the history
  • Loading branch information
unicornware committed Oct 14, 2021
1 parent bcd8f5e commit 4b418f1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/continuous-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# - https://github.com/actions/checkout
# - https://github.com/actions/setup-node
# - https://github.com/actions-registry/github-repo-sync-upstream
# - https://github.com/dawidd6/action-delete-branch/tree/v3.1.0

---
name: continuous-deployment
Expand Down Expand Up @@ -184,3 +185,14 @@ jobs:
tag_name: process.env.tag
})
}
delete-release-branch:
name: Delete release branch
needs: [deployment-info, publish-release]
runs-on: ubuntu-latest
steps:
- id: delete
uses: dawidd6/[email protected]
with:
branches: release/
github_token: ${{ github.token }}
suffix: ${{ needs.deployment-info.outputs.tag }}

0 comments on commit 4b418f1

Please sign in to comment.