mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-29 06:35:39 -04:00
automate mkdocs website creation [ci skip]
This commit is contained in:
parent
123d774a3f
commit
687bc2c71e
1 changed files with 33 additions and 0 deletions
33
.github/workflows/website_update.yml
vendored
Normal file
33
.github/workflows/website_update.yml
vendored
Normal 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
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue