v3.0.2 #13
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: 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 |