Skip to content

Merge pull request #430 from cds-hooks/propose-condition-create-hook #69

Merge pull request #430 from cds-hooks/propose-condition-create-hook

Merge pull request #430 from cds-hooks/propose-condition-create-hook #69

Workflow file for this run

name: Publish docs
on:
push:
branches: [ master ]
pull_request:
types: [opened, synchronize] # This will trigger the workflow only when a PR is opened or updated with new commits
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.6
uses: actions/setup-python@v2
with:
python-version: 3.6
- name: Setup dependencies
run: pip install -r requirements.txt
- name: Generate docs
run: mkdocs build --verbose --clean --strict
- name: Deploy
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
cname: cds-hooks.org