Skip to content

Cleanup deploy docs action #789

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 8 commits into from
Jul 2, 2025
Merged
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
28 changes: 10 additions & 18 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,25 @@ on:
push:
branches:
- main
- cleanup_deploy_docs_action
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove again before merging: current branch was added for testing the changes

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not forget!



jobs:
deploy-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libboost-all-dev
curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Set up Python
uses: actions/setup-python@v5
- name: install uv
uses: astral-sh/setup-uv@v6
with:
python-version: "3.10"
cache: 'pip'
cache-dependency-path: |
**/pyproject.toml
uv.lock
- name: Install all icon4py namespace packages
run: |
uv sync --extra all
version: "0.6.16"
enable-cache: true
cache-dependency-glob: "uv.lock"
python-version: "3.10"
- name: Build documentation
run: |
source .venv/bin/activate
cd model/atmosphere/dycore/docs
make html
cd model/atmosphere/dycore/docs/
uv run --project ../../../../ make html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
Expand Down
Loading