Skip to content

Netlify Deploy

Netlify Deploy #54

name: Netlify Deploy
on:
workflow_dispatch:
jobs:
netlify-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
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: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}