From d123c5c44d486908c6e52e590e2dcbe6a3099ede Mon Sep 17 00:00:00 2001 From: brecert Date: Tue, 14 Sep 2021 19:21:55 -0400 Subject: [PATCH] Fix push issues for cleanup by removing `single-commit` - note: in the future, `JamesIves/github-pages-deploy-action@4.1.5` may need to be replaced or supplemented by git commands to fully reset the preview branch so that images and builds do not linger and take up storage for too long --- .github/workflows/preview_cleanup.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/preview_cleanup.yml b/.github/workflows/preview_cleanup.yml index 8e38f289..1540f4f3 100644 --- a/.github/workflows/preview_cleanup.yml +++ b/.github/workflows/preview_cleanup.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest if: github.event.label.name == 'use-preview' env: - BASE: ./refs/pull/${{ github.event.pull_request.number }} + BASE: refs/pull/${{ github.event.pull_request.number }} steps: - uses: actions/checkout@v2 @@ -28,7 +28,6 @@ jobs: with: folder: . branch: build-previews - single-commit: true - name: send comment uses: marocchino/sticky-pull-request-comment@v2