Skip to content

updated rye installation script #64

updated rye installation script

updated rye installation script #64

Workflow file for this run

name: Build and publish docs
on:
workflow_dispatch:
push:
branches:
- "main"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install python
uses: actions/setup-python@v5
with:
python-version: "3.12"
# TODO cache rye installation
- name: Install rye
run: curl -sSf https://rye.astral.sh/get | RYE_INSTALL_OPTION="--yes" bash
- name: Install project and its dependencies
run: ~/.rye/shims/rye sync --no-lock
- name: Build and deploy docs
run: ~/.rye/shims/rye run mkdocs gh-deploy --force