4.9.1 (frontend, tools), 4.9.2 (tools), 4.9.3 (tools), 4.9.4 (tools),… #87
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: Build | |
on: | |
push: | |
jobs: | |
package: | |
name: Build API Docs | |
runs-on: ubuntu-22.04 | |
permissions: | |
pages: write | |
id-token: write | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- name: Build | |
run: | | |
python -m pip install -r requirements.txt | |
make build | |
mv output _site | |
- name: Upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: output | |
path: ./_site | |
- name: Upload Pages artifact | |
uses: actions/upload-pages-artifact@v2 | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v3 |