Skip to content

Move myst.yml and adapt workflows #519

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/nightly-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,16 @@ jobs:
uses: ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml@main
with:
base_url: ''
path_to_notebooks: 'portal'

deploy:
needs: build
uses: ProjectPythia/cookbook-actions/.github/workflows/deploy-book.yaml@main
with:
publish_dir: 'portal/_build/html'

link-check:
if: ${{ github.repository_owner == 'ProjectPythia' }}
uses: ProjectPythia/cookbook-actions/.github/workflows/link-checker.yaml@main
with:
path_to_source: 'portal'
3 changes: 3 additions & 0 deletions .github/workflows/publish-site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ jobs:
uses: ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml@main
with:
base_url: ''
path_to_notebooks: 'portal'

deploy:
needs: build
uses: ProjectPythia/cookbook-actions/.github/workflows/deploy-book.yaml@main
with:
publish_dir: 'portal/_build/html'
2 changes: 2 additions & 0 deletions .github/workflows/trigger-link-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ on:
jobs:
link-check:
uses: ProjectPythia/cookbook-actions/.github/workflows/link-checker.yaml@main
with:
path_to_source: 'portal'
1 change: 1 addition & 0 deletions .github/workflows/trigger-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
artifact_name: book-zip-${{ needs.find-pull-request.outputs.number }}
destination_dir: _preview/${{ needs.find-pull-request.outputs.number }} # deploy to subdirectory labeled with PR number
is_preview: "true"
publish_dir: "portal/_build/html"

preview-comment:
needs: find-pull-request
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/trigger-site-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ jobs:
with:
artifact_name: book-zip-${{ github.event.number }}
base_url: '/_preview/${{ github.event.number }}'
path_to_notebooks: 'portal'
# Other input options are possible, see ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml
21 changes: 7 additions & 14 deletions myst.yml → portal/myst.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,19 @@ extends:
- https://raw.githubusercontent.com/projectpythia/pythia-config/main/pythia.yml
project:
id: 770e49e5-344a-4c46-adaa-3afb060b2085
# title:
# description:
keywords: []
authors: []
authors: Project Pythia Community
github: https://github.com/projectpythia/projectpythia.github.io
# bibliography: []

toc:
- file: portal/index.md
- file: portal/about.md
- file: index.md
- file: about.md
- title: Blog
children:
- pattern: portal/posts/*.md
- file: portal/contributing.md
- file: portal/cookbook-guide.md
- file: portal/metrics.md
- pattern: posts/*.md
- file: contributing.md
- file: cookbook-guide.md
- file: metrics.md
site:
actions:
- title: Learn More
url: https://mystmd.org/guide
domains: []
options:
style: style.css
File renamed without changes.