v1.7.7 fixing dependency conflicts... #273
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: Deploy Docs to archivy.github.io | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
name: Deploy website | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
path: main | |
- name: Set up Python 3.9 and Pandoc | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.9 | |
- name: Install doc deps | |
run: >- | |
python -m pip install -r main/docs/requirements.txt | |
- name: Install archivy | |
run: >- | |
python -m pip install main/ | |
- name: Clone archivy docs website | |
uses: actions/checkout@v2 | |
with: | |
repository: archivy/archivy.github.io | |
ssh-key: ${{ secrets.ARCHIVY_ACCESS_KEY }} | |
path: docs-website | |
- name: Deploy docs | |
run: >- | |
cd docs-website && mkdocs gh-deploy --config-file ../main/mkdocs.yml --remote-branch main |