Skip to content

Commit c4d6c7b

Browse files
committed
Fix
1 parent 39a51bb commit c4d6c7b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/pr-cleanup.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ jobs:
4141
--silent \
4242
-H "Accept: application/vnd.github+json" \
4343
-H "X-GitHub-Api-Version: 2022-11-28" \
44-
/repos/${OWNER}/${REPOSITORY}/actions/artifacts/${ID}
44+
/repos/${REPOSITORY_OWNER}/${REPOSITORY_NAME}/actions/artifacts/${ID}
4545
done
4646
env:
4747
GH_TOKEN: ${{ github.token }}
48-
OWNER: ${{ github.repository_owner }}
49-
REPOSITORY: ${{ github.repository.name }}
48+
REPOSITORY_OWNER: ${{ github.repository_owner }}
49+
REPOSITORY_NAME: ${{ github.event.repository.name }}
5050
BRANCH: ${{ github.head_ref }}
5151

5252
clean-documentation-preview:
@@ -60,7 +60,7 @@ jobs:
6060
sudo apt-get update
6161
sudo apt-get install -y rclone
6262
echo "${{ inputs.CONFIGURATION }}" > rclone.configuration
63-
rclone --config rclone.configuration prune ${PROVIDER}:${BUCKET}/${PULL_REQUEST_NUMBER}/
63+
rclone --config rclone.configuration purge ${PROVIDER}:${BUCKET}/${PULL_REQUEST_NUMBER}/
6464
env:
6565
CONFIGURATION: ${{ secrets.RCLONE_CONFIG_DOC_PREVIEW }}
6666
PROVIDER: scaleway

0 commit comments

Comments
 (0)