Skip to content

Netlify Deploy

Netlify Deploy #112

name: Netlify Deploy
on:
workflow_dispatch:
jobs:
netlify-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Hugo Build
uses: gooddata/gooddata-python-sdk/.github/actions/hugo-build-versioned-action@master
with:
base-url: https://www.gooddata.com/docs/python-sdk
- name: Publish
uses: netlify/actions/cli@master
with:
args: deploy -d docs/public --prod
env:
NETLIFY_SITE_ID: 93e23db0-d31a-4a12-801a-b9479ffef486 # Not a secret
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}