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

Commit

Permalink
Use sudo when removing preview folders (#841)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarayourfriend authored Aug 1, 2022
1 parent 9384f8e commit 596d627
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 596d627

Please sign in to comment.