Change test setup of mlwh vhost #11
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: CI | |
on: | |
push: | |
branches: | |
- master | |
- '143-write-*' | |
workflow_dispatch: | |
permissions: | |
pages: write # Allow writing to the GitHub Pages | |
id-token: write # Allow OIDC token to be issued | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.11 | |
- name: Create rst files for docs | |
run: | | |
pip install pydoctor | |
mkdir doc | |
pydoctor --make-html --html-output=doc tol_lab_share | |
- name: Upload artifact to GitHub Pages | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
path: doc | |
deploy: | |
runs-on: ubuntu-latest | |
needs: build # The deploy job will only run if the build job is successful | |
steps: | |
- name: Deploy to GitHub Pages | |
uses: actions/deploy-pages@v4 | |