Skip to content

Fix names for template workflow #6

Fix names for template workflow

Fix names for template workflow #6

Workflow file for this run

name: aiida-mlip documentation publish
on:
push:
branches: [main]
pull_request:
branches: [main]
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
docs-deploy:
if: github.ref == 'refs/heads/main'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
container: sphinxdoc/sphinx-latexpdf:5.3.0
steps:
- uses: actions/checkout@v3
- name: sphinx
run: |
cd docs
pip install furo aiida-core
make html
- name: upload
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
path: './docs/build/html/.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1