Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Fix permissions when building docs (#1055)

Dhruv Bhanushalifae9951984ea
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml
index 659427ca4..9328302ca 100644
--- a/.github/workflows/ci_cd.yml
+++ b/.github/workflows/ci_cd.yml
@@ -415,7 +415,10 @@ jobs:
- name: Make developer docs
run: |
just sphinx-make
+ sudo chown "$USER:$USER" -R ./api
mv ./api/build/html /tmp/gh-pages
+ env:
+ DC_USER: root
- uses: actions/checkout@v3
with: