Skip to content

Commit

Permalink
Fix Delete Preview Branch (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
cansavvy authored Sep 27, 2021
1 parent 1bf8155 commit b14d8d7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/delete-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
build-all:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v2

- name: Delete preview branch
run: git branch -D preview-${{ github.event.pull_request.number }}
- name: Delete branch
uses: dawidd6/action-delete-branch@v3
with:
github_token: ${{ secrets.GH_PAT }}
branches: preview-${{ github.event.pull_request.number }}

0 comments on commit b14d8d7

Please sign in to comment.