Question about building #2560
Unanswered
ELEVENStudio-Main
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Yes. See, for example, the next workflow configuration: Serve Mkdocs docs on Github Pagesname: Github Pages
on:
push:
branches:
- master
workflow_dispatch:
jobs:
deploy:
name: Deploy to Github Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python v3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
python -m pip install .[doc]
- name: Build documentation
run: python -m mkdocs build
- name: Deploy to Github Pages
uses: peaceiris/actions-gh-pages@v3.8.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site |
Beta Was this translation helpful? Give feedback.
2 replies
-
OK.Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can this run on GitHub Pages?
Beta Was this translation helpful? Give feedback.
All reactions