Skip to content

v3.0.1

v3.0.1 #12

Workflow file for this run

name: Docs Deploy
on:
push:
branches:
- master
jobs:
docs:
runs-on: ubuntu-22.04
steps:
- name: 🛎 Checkout
uses: actions/checkout@v4
- name: 📦 Pull Docker Image
run: docker pull slatedocs/slate
- name: 📂 Create Folder for docs-build
run: rm -rf docs-build && mkdir docs-build
- name: 👷‍♂️ Build
run: docker run --rm --name slate -v $(pwd)/docs-build:/srv/slate/build -v $(pwd)/docs:/srv/slate/source slatedocs/slate
- name: 📝 Copy README for gh-pages
run: cp -f docs/static/README.md docs-build/README.md
- name: 🚚 Deploy to gh-pages
uses: JamesIves/[email protected]
with:
BRANCH: gh-pages
FOLDER: docs-build
CLEAN: true