ci: fix website preview cleanup branch (#1793)

This commit is contained in:
Jonas L 2022-04-23 20:05:28 +02:00 committed by GitHub
parent ed0f09215b
commit 7865683f53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@ on:
env: env:
# PREVIEW_DEPLOY_KEY is present in the secrets # PREVIEW_DEPLOY_KEY is present in the secrets
PREVIEW_EXTERNAL_REPOSITORY: libretime/libretime.github.io PREVIEW_EXTERNAL_REPOSITORY: libretime/libretime.github.io
PREVIEW_EXTERNAL_REPOSITORY_BRANCH: gh-pages
PREVIEW_URL: https://libretime.github.io PREVIEW_URL: https://libretime.github.io
PREVIEW_BASE_URL: / PREVIEW_BASE_URL: /
@ -93,6 +94,7 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
repository: ${{ env.PREVIEW_EXTERNAL_REPOSITORY }} repository: ${{ env.PREVIEW_EXTERNAL_REPOSITORY }}
ref: ${{ env.PREVIEW_EXTERNAL_REPOSITORY_BRANCH }}
ssh-key: ${{ secrets.PREVIEW_DEPLOY_KEY }} ssh-key: ${{ secrets.PREVIEW_DEPLOY_KEY }}
- name: Remove files - name: Remove files