Skip to content

tests - fix actions upload/download #277

tests - fix actions upload/download

tests - fix actions upload/download #277

Workflow file for this run

name: Publish GitHub Pages
on:
push:
branches: [ main ]
jobs:
gh-pages-build:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
with:
persist-credentials: false
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install tox 🧰
run: |
python -m pip install --upgrade pip
python -m pip install tox
- name: Generate HTML 🛠
run: tox -e docs
- name: Upload Site 🔺
uses: actions/[email protected]
with:
name: pdoc3-html
path: pdoc3-html/ploigos_step_runner
gh-pages-deploy:
needs:
- gh-pages-build
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
- name: Download Site 🔻
uses: actions/[email protected]
with:
name: pdoc3-html
path: pdoc3-html/
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: "pdoc3-html"