-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
1,994 additions
and
632 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 |
---|---|---|
|
@@ -14,29 +14,27 @@ jobs: | |
cancel-in-progress: true | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Quarto | ||
uses: quarto-dev/quarto-actions/setup@v2 | ||
with: | ||
tinytex: true | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax | ||
cache: 'pip' | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up docker | ||
uses: docker-practice/[email protected] | ||
timeout-minutes: 12 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
|
||
- name: Install system dependencies | ||
run: sudo apt update && sudo apt install ghostscript python3-tk | ||
|
||
- name: Install uv | ||
uses: astral-sh/setup-uv@v3 | ||
|
||
- name: Install Python packages | ||
run: pip install -r requirements.txt | ||
- name: Set up Python | ||
run: uv python install | ||
|
||
- name: Install the project | ||
run: uv sync --all-extras --dev | ||
|
||
- name: Set up Quarto | ||
uses: quarto-dev/quarto-actions/setup@v2 | ||
with: | ||
tinytex: true | ||
|
||
- name: Make .netrc | ||
env: | ||
|
@@ -55,12 +53,13 @@ jobs: | |
GDAL_DISABLE_READDIR_ON_OPEN: YES | ||
GDAL_HTTP_COOKIEJAR: /tmp/cookies.txt | ||
GDAL_HTTP_COOKIEFILE: /tmp/cookies.txt | ||
uses: quarto-dev/quarto-actions/render@v2 | ||
run: | | ||
uv run quarto render | ||
- name: Publish | ||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} | ||
uses: quarto-dev/quarto-actions/publish@v2 | ||
with: | ||
target: netlify | ||
render: "false" | ||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | ||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} |
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 |
---|---|---|
|
@@ -3,3 +3,5 @@ | |
/env/ | ||
**/.jupyter_cache/** | ||
/hidden* | ||
**/.ipynb_checkpoints/** | ||
hrodmn.dev.egg-info/ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.