Browser library v18.5.0 #152
Workflow file for this run
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
name: Release tasks | |
on: | |
release: | |
types: [ published ] | |
jobs: | |
gh-pages: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 16.x | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.8 | |
- name: Dependencies for building docs # TODO: thin a bit | |
run: | | |
npm ci | |
python -m pip install --upgrade pip | |
pip install -U uv | |
uv venv | |
uv pip install -r Browser/dev-requirements.txt --python python3.8 | |
inv build | |
- name: Build docs | |
run: | | |
inv docs | |
inv gh-pages-index | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4.6.0 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages # The branch the action should deploy to. | |
FOLDER: docs # The folder the action should deploy. |