Skip to content

Merge pull request #33 from gis-ops/cb-fix-headers #26

Merge pull request #33 from gis-ops/cb-fix-headers

Merge pull request #33 from gis-ops/cb-fix-headers #26

Workflow file for this run

name: Deploy docs to GH Pages
on:
push:
branches:
- main
paths-ignore:
- "/test_data/"
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
docker_tags: [latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: "16.x"
- name: Build Docusaurus website
run: |
npm ci
cd docs
npm ci
npm run build
- name: Deploy to GitHub Pages
if: success()
uses: crazy-max/ghaction-github-pages@v2
with:
target_branch: gh-pages
build_dir: docs/build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}