Skip to content

Version 1.3.20

Version 1.3.20 #3

Workflow file for this run

name: Fetch, build and deploy docs
on:
release:
types: [published]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Fetch branch
uses: actions/checkout@v4
with:
ref: master
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: "3.11"
- name: Install dependencies
run: make install_docs
- name: Build docs
run: make create_docs
- name: Create the CNAME for GitHub Pages
run: echo discordhttp.alexflipnote.dev > ./docs/_build/html/CNAME
- name: Prevent GitHub Pages Jekyll behaviour
run: touch ./docs/_build/html/.nojekyll
- name: Deploy docs
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: ./docs/_build/html
clean: true