Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Use sudo when removing preview folders (#841)
sarayourfriend596d62793886
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.ymlindex a2adc8934..f45a34e79 100644--- a/.github/workflows/ci_cd.yml+++ b/.github/workflows/ci_cd.yml@@ -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