Skip to content
Merged
Show file tree
Hide file tree
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
8 changes: 6 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,9 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force
- run: pip install zensical
- run: zensical build
- uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-reco
python3-pip \
&& rm -rf /var/lib/apt/lists/*

RUN pip install --break-system-packages mkdocs-material
RUN pip install --break-system-packages --ignore-installed zensical
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if ! docker image inspect "$IMAGE_NAME" &>/dev/null; then
fi

WORKDIR="$REPO_ROOT/ws"
if [ "$1" = "mkdocs" ]; then
if [ "$1" = "zensical" ]; then
WORKDIR="$REPO_ROOT"
fi

Expand Down