DeltaCDFRelation #544
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Based on https://github.com/squidfunk/mkdocs-material/blob/master/.github/workflows/ci.yml | |
name: Deploying the docs | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
if: github.event.pull_request.head.repo.fork == false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- name: Install dependencies | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
run: | | |
pip install -r requirements.txt | |
- name: Build documentation | |
env: | |
GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }} | |
run: | | |
mkdocs gh-deploy --force |