From 687bc2c71e7691ef35d5d65dcc262aca37f98123 Mon Sep 17 00:00:00 2001 From: edoapra Date: Mon, 3 Jan 2022 13:34:15 -0800 Subject: [PATCH] automate mkdocs website creation [ci skip] --- .github/workflows/website_update.yml | 33 ++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/website_update.yml diff --git a/.github/workflows/website_update.yml b/.github/workflows/website_update.yml new file mode 100644 index 0000000000..c17eb390fa --- /dev/null +++ b/.github/workflows/website_update.yml @@ -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 + +