Skip to content

📚 Build documentation and deploy #41

📚 Build documentation and deploy

📚 Build documentation and deploy #41

Workflow file for this run

name: "📚 Build documentation and deploy "
on:
workflow_dispatch:
jobs:
documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
cp CHANGELOG.md docs/source/getting_started/CHANGELOG.md
docker build . -t=lsdocs -f docs/Dockerfile
docker run -v $(pwd):/LoopStructural lsdocs bash LoopStructural/docs/build_docs.sh
- name: upload artifacts
uses: actions/upload-artifact@v3
with:
path: docs/build/html
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.3
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs/build/html # The folder the action should deploy.