DP-2459 api ref generator #61
Workflow file for this run
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
# Keep Hugo docs build to verify documentation can be built also on localhost with correct links | |
name: Hugo docs | |
on: | |
pull_request: | |
branches: | |
- master | |
paths: | |
# When API documentation is generated from code include also path to code 'gooddata-sdk/**' | |
- 'docs/**' | |
jobs: | |
hugo-check: | |
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-action@master | |
- name: htmltest | |
run: | | |
rm -f htmltest.sh | |
wget https://raw.githubusercontent.com/gooddata/gooddata-python-sdk/master/scripts/htmltest.sh | |
chmod +x ./htmltest.sh | |
./htmltest.sh -c docs/.htmltest.yml docs/public |