From 1cd8848dc26497b36d4537f339b6768aae076a9d Mon Sep 17 00:00:00 2001 From: James Ives Date: Sat, 6 Feb 2021 10:14:37 -0500 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 491270a1..cda56b16 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -124,6 +124,10 @@ jobs: single-commit: ${{ matrix.commit == 'singleCommit' }} dry-run: true + - name: Cleanup + if: ${{ matrix.branch == 'gh-pages' }} + run: git branch -d ${{ matrix.branch }} + # The modified deployment should be a success, and not skipped. - name: Check step output if: ${{ matrix.branch == 'gh-pages' }}