Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the mkdocs action #71

Merged
merged 1 commit into from
Jun 8, 2021
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
3 changes: 2 additions & 1 deletion .github/workflows/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REQUIREMENTS: docs/requirements.txt
CUSTOM_DOMAIN: docs.calitp.org
CONFIG_FILE: docs/mkdocs.yml
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 4 additions & 3 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ FROM benefits_client:latest

USER root

COPY docs/requirements.txt docs/requirements.txt

RUN apt-get install -qq --no-install-recommends curl git jq ssh && \
pip install --no-cache-dir flake8 debugpy pre-commit \
mkdocs mkdocs-material mkdocs-awesome-pages-plugin \
fontawesome_markdown mdx_truly_sane_lists mkdocs-macros-plugin
pip install --no-cache-dir flake8 debugpy pre-commit && \
pip install --no-cache-dir -r docs/requirements.txt
6 changes: 6 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
fontawesome_markdown
mdx_truly_sane_lists
mkdocs
mkdocs-awesome-pages-plugin
mkdocs-macros-plugin
mkdocs-material