DP-2565: updating pipelines for new generate.sh #6
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
name: Hugo Versioned Docs | ||
on: | ||
workflow_dispatch: | ||
jobs: | ||
hugo-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version-file: `.python-version` | ||
- name: | ||
shell: bash | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r dev-requirements.txt | ||
- name: Setup PYTHONPATH | ||
shell: bash | ||
run: | | ||
PYTHONPATH="${PYTHONPATH}:${GITHUB_WORKSPACE}/gooddata-pandas/" | ||
PYTHONPATH="${PYTHONPATH}:${GITHUB_WORKSPACE}/gooddata-api-client/" | ||
PYTHONPATH="${PYTHONPATH}:${GITHUB_WORKSPACE}/gooddata-sdk/" | ||
echo "PYTHONPATH=$PYTHONPATH" >> $GITHUB_ENV | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
- name: Generate Versioned Docs | ||
uses: gooddata/gooddata-python-sdk/.github/actions/hugo-build-versioned-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 |