Skip to content

Commit

Permalink
Merge pull request #250 from ftsrg/fix-docs
Browse files Browse the repository at this point in the history
Deploy doc only on master, test always
  • Loading branch information
leventeBajczi authored Feb 15, 2024
2 parents 62cc6ce + ae0daf8 commit 46907d2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
9 changes: 6 additions & 3 deletions .github/actions/deploy-docs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,19 @@ runs:
- uses: actions/setup-python@e9aba2c848f5ebd159c070c61ea2c4e2b122355e
with:
python-version: 3.x
- run: pip install mkdocs-material==8.3.9
- run: pip install mkdocs-material
shell: bash
- run: pip install python-markdown-math==0.8
- run: pip install python-markdown-math
shell: bash
- run: pip install mkdocs==1.3.0
- run: pip install mkdocs
shell: bash
- run: pip install mkdocs-awesome-pages-plugin
shell: bash
- run: mkdocs build --site-dir wiki
shell: bash
working-directory: doc/wiki
- uses: JamesIves/github-pages-deploy-action@22a6ee251d6f13c6ab1ecb200d974f1a6feb1b8d # v4.4.2
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request'
with:
branch: gh-pages
folder: doc/wiki/wiki
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/linux-build-test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ jobs:

deploy-docs:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request'
steps:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ buildscript {

allprojects {
group = "hu.bme.mit.theta"
version = "5.0.0"
version = "5.0.1"

apply(from = rootDir.resolve("gradle/shared-with-buildSrc/mirrors.gradle.kts"))
}
Expand Down
4 changes: 2 additions & 2 deletions doc/wiki/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ markdown_extensions:
- footnotes
- attr_list
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- abbr
- pymdownx.snippets:
auto_append:
Expand Down

0 comments on commit 46907d2

Please sign in to comment.