-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d8de5c5
commit 0f4cc6c
Showing
3 changed files
with
47 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Deploy on GitHub Pages | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v3 | ||
with: | ||
python-version: 3.x | ||
- run: pip install mkdocs-material mkdocs-heti-plugin | ||
- run: mkdocs gh-deploy --force |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# The Docker image that will be used to build your app | ||
image: python:3.8-bullseye | ||
cache: # Pip's cache doesn't store the python packages | ||
paths: # https://pip.pypa.io/en/stable/topics/caching/ | ||
- .cache/pip | ||
# Functions that should be executed before the build script is run | ||
before_script: | ||
- pip install mkdocs-material mkdocs-heti-plugin | ||
pages: | ||
script: | ||
- mkdocs build --verbose --strict | ||
artifacts: | ||
paths: | ||
# The folder that contains the files to be exposed at the Page URL | ||
- public | ||
rules: | ||
# This ensures that only pushes to the default branch will trigger | ||
# a pages deploy | ||
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters