Skip to content

DP-2565: updating pipelines for new generate.sh #6

DP-2565: updating pipelines for new generate.sh

DP-2565: updating pipelines for new generate.sh #6

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`

Check failure on line 11 in .github/workflows/hugo-versioned-docs.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/hugo-versioned-docs.yaml

Invalid workflow file

You have an error in your yaml syntax on line 11
- 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