automate mkdocs website creation [ci skip]

This commit is contained in:
edoapra 2022-01-03 13:34:15 -08:00
parent 123d774a3f
commit 687bc2c71e
No known key found for this signature in database
GPG key ID: 472C4EBB4F3AEDFA

33
.github/workflows/website_update.yml vendored Normal file
View file

@ -0,0 +1,33 @@
name: NWChem-wiki.mirroring
on:
release:
schedule:
- cron: '0 0 * * *'
repository_dispatch:
types: [backend_automation]
workflow_dispatch:
jobs:
build-deploy:
name: Build and deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout nwchem code
uses: actions/checkout@v2
with:
fetch-depth: 40
- name: Set up Python 3
uses: actions/setup-python@v2
- name: install mkdocs and plugins
shell: bash
working-directory: contrib/mkdocs
run: |
pwd
bash ./install_mkdocs.sh
mkdocs -h || true