Skip to content

fixing the github action and adding deps #60

fixing the github action and adding deps

fixing the github action and adding deps #60

Workflow file for this run

name: aiida-atomistic GitHub Pages Deploy
on:
push:
branches: [main, develop, mkdocs]
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment; do NOT cancel in-progress runs.
concurrency:
group: 'pages'
cancel-in-progress: false
jobs:
build:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # required by git-revision-date-localized
- name: Setup Pages
uses: actions/configure-pages@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install -r docs/requirements.txt
- name: Build MkDocs documentation
run: mkdocs build --strict --site-dir ./docs/build/html
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './docs/build/html'
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4