Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Update persist.py

Update persist.py #22

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
with: { python-version: "3.10" }
- name: Install dependencies
run: pip install -r docs/requirements.txt
- name: Build documentation
run: cd docs && novella
- uses: actions/upload-artifact@v2
with:
name: docs
path: docs/_site
docs-publish:
needs: [ "docs" ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
with:
name: docs
path: docs/_site
- name: Publish docs
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: docs/_site
ssh-key: ${{ secrets.DEPLOY_KEY }}