From 7865683f53f56ebead65f866a253a215f1b19409 Mon Sep 17 00:00:00 2001 From: Jonas L Date: Sat, 23 Apr 2022 20:05:28 +0200 Subject: [PATCH] ci: fix website preview cleanup branch (#1793) --- .github/workflows/website-preview-command.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/website-preview-command.yml b/.github/workflows/website-preview-command.yml index 3fd7ea016..b1ac97940 100644 --- a/.github/workflows/website-preview-command.yml +++ b/.github/workflows/website-preview-command.yml @@ -18,6 +18,7 @@ on: env: # PREVIEW_DEPLOY_KEY is present in the secrets PREVIEW_EXTERNAL_REPOSITORY: libretime/libretime.github.io + PREVIEW_EXTERNAL_REPOSITORY_BRANCH: gh-pages PREVIEW_URL: https://libretime.github.io PREVIEW_BASE_URL: / @@ -93,6 +94,7 @@ jobs: - uses: actions/checkout@v3 with: repository: ${{ env.PREVIEW_EXTERNAL_REPOSITORY }} + ref: ${{ env.PREVIEW_EXTERNAL_REPOSITORY_BRANCH }} ssh-key: ${{ secrets.PREVIEW_DEPLOY_KEY }} - name: Remove files