Skip to content

minor dependency fix for ci.yml #5

minor dependency fix for ci.yml

minor dependency fix for ci.yml #5

Workflow file for this run

name: ci
on:
push:
branches:
- documentation
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- uses: actions/setup-python@v4
with:
python-version: 3.7
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- name: Install dependencies
run: |
pip install mkdocs==1.4.3
pip install mkdocs-autorefs==0.4.1
pip install mkdocs-material==9.1.15
pip install mkdocs-material-extensions==1.1.1
pip install mkdocstrings==0.20.0
pip install mkdocstrings-python==1.1.2
- run: |
cd NASLib_docs
mkdocs gh-deploy --force