-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added auto deploy docs github action and Fixed Documentation
* actions: added gh-pages deploy workflow * docs: Fix navigation tabs * docs: simulations: Fix images * actions: Use github-actions config
- Loading branch information
1 parent
212dcda
commit 667c0d5
Showing
5 changed files
with
36 additions
and
11 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,31 @@ | ||
name: Docs | ||
on: | ||
workflow_dispatch: | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.7' | ||
architecture: 'x64' | ||
- name: Install dependencies | ||
run: | | ||
python3 -m pip install --upgrade pip | ||
python3 -m pip install mkdocs | ||
python3 -m pip install mkdocs-material | ||
python3 -m pip install pymdown-extensions | ||
python3 -m pip install mkdocs-git-revision-date-localized-plugin | ||
- name: Git setup and update | ||
run: | | ||
git config user.name "GitHub Action" && git config user.email "[email protected]" | ||
git fetch origin | ||
- name: Build Docs | ||
run: mkdocs build | ||
- name: Add latest web build and deploy | ||
run: | | ||
git clone -b web https://github.com/cod-ed/simulate web | ||
mv web/web/ site/ | ||
mkdocs gh-deploy --dirty |
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
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
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
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