Skip to content

Commit

Permalink
Merge pull request #188 from mjo22/debug-workflows
Browse files Browse the repository at this point in the history
Debug workflows
  • Loading branch information
mjo22 authored Mar 23, 2024
2 parents bfad982 + 48c3bb2 commit c3219a5
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 8 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Build docs

on:
release:
types: [published]
on: workflow_dispatch

#on:
# release:
# types: [published]

jobs:
build:
Expand All @@ -25,5 +27,13 @@ jobs:
python -m pip install --upgrade pip
python -m pip install .[docs]
- name: Build and deploy documentation
run: mkdocs gh-deploy
- name: Build docs
run: |
mkdocs build
mkdocs build
- name: Upload docs
uses: actions/upload-artifact@v2
with:
name: docs
path: site # where `mkdocs build` puts the built site
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Publish to PyPI

on:
release:
types: [published]
on: workflow_dispatch

#on:
# release:
# types: [published]

jobs:
build:
Expand Down
4 changes: 4 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ theme:
site_name: cryoJAX
site_description: The documentation for cryoJAX.
site_author: Michael O'Brien
site_url: https://mjo22.github.io/cryojax/

repo_url: https://github.com/mjo22/cryojax
repo_name: mjo22/cryojax
edit_uri: ""

strict: false

extra_javascript:
- javascripts/mathjax.js
Expand Down

0 comments on commit c3219a5

Please sign in to comment.