2019-10-05 20:56:41 +00:00
|
|
|
name: Documentation
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
update:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout the source code
|
|
|
|
uses: actions/checkout@master
|
|
|
|
- name: Install Python packages
|
|
|
|
run: |
|
|
|
|
pip3 install wheel
|
|
|
|
pip3 install setuptools
|
|
|
|
pip3 install pygithub
|
|
|
|
pip3 install pygithub3
|
|
|
|
- name: Deploy
|
|
|
|
if: github.repository == 'acemod/ACE3' && ! contains(github.event.head_commit.message, '[ci skip]')
|
|
|
|
env:
|
2019-11-23 11:37:26 +00:00
|
|
|
GH_TOKEN: ${{ secrets.DOCS_TOKEN }}
|
2019-10-05 20:56:41 +00:00
|
|
|
run: python3 tools/deploy.py
|