Skip to content

deploy website

deploy website #837

Workflow file for this run

name: deploy website
on:
schedule:
- cron: 0 0 * * *
push:
branches: [ source ]
pull_request:
branches: [ source ]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Build
run: |
sudo pip3 install sphinx recommonmark
.ci/retrieve_readme.sh
.ci/retrieve_wiki.sh
sphinx-build src build
- name: Deploy
if: github.ref == 'refs/heads/source'
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: build
CLEAN: true