ci: fix website preview cleanup branch (#1793)
This commit is contained in:
parent
ed0f09215b
commit
7865683f53
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue