Skip to content

odc-geo migration #1009

odc-geo migration

odc-geo migration #1009

Workflow file for this run

name: build-docs
on:
pull_request:
push:
branches:
- develop
- dra/docs-updates
env:
DKR: opendatacube/datacube-tests:latest
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Pull Docker
run: |
docker pull ${DKR}
- name: Build Docs
run: |
cat <<EOF | docker run --rm -i \
-v $(pwd):/code \
-e SKIP_DB=yes \
${DKR} bash -
sudo apt-get update && sudo apt-get install -y plantuml make pandoc
cd docs
pip install -r requirements.txt
make html
EOF
- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v1.0
with:
production-branch: 'master'
publish-dir: 'docs/_build/html'
deploy-message: "Deploy from GitHub Actions"
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}