Skip to content

Commit

Permalink
Fix deploy for real now
Browse files Browse the repository at this point in the history
Signed-off-by: Dylan Reimerink <dylan.reimerink@isovalent.com>
  • Loading branch information
dylandreimerink committed Dec 29, 2024
1 parent 8180f0e commit c225c80
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/deploy-gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,13 @@ jobs:
echo " analytics:" >> mkdocs.yml
echo " provider: google" >> mkdocs.yml
echo " property: G-KVJ1CK539N" >> mkdocs.yml
- name: Debug
run: |
cat /etc/group
cat /etc/passwd
id
- name: Build html
run: |
git config --add safe.directory /docs
make html PROD=true GH_TOKEN=${{ secrets.GITHUB_TOKEN }}
- name: Setup Pages
uses: actions/configure-pages@v5
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ html:
docker run --rm -v "${REPODIR}:/docs" \
-e "PROD=${PROD}" -e "GH_TOKEN=${GH_TOKEN}" \
-e "AS_USER=$$(id -u $${USER})" -e "AS_GROUP=$$(id -g $${USER})" \
-w /docs "${IMAGE}:${VERSION}" "mkdocs build -d /docs/out"
-w /docs "${IMAGE}:${VERSION}" "find . -type f | xargs ls -l $1 && mkdocs build -d /docs/out"

.PHONY: clear-html
clear-html:
Expand Down

0 comments on commit c225c80

Please sign in to comment.