Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Use sudo when removing preview folders #841

Merged
merged 1 commit into from
Aug 1, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ jobs:
cp -r ./openverse-api /tmp/gh-pages
# trash the existing preview folder and replace it with the newly generated one
# if the preview hasn't been pushed yet this will still exit(0)
rm -rf /tmp/gh-pages/_preview/${{ github.event.pull_request.number }}
sudo rm -rf /tmp/gh-pages/_preview/${{ github.event.pull_request.number }}
mv /tmp/preview /tmp/gh-pages/_preview/${{ github.event.pull_request.number }}
cd openverse-api

Expand Down