diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 5015de9d3..798b1b130 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -71,12 +71,14 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Use the API to retrieve the github pages url and set an environment variable containing the value. - run: echo "BUILD_FLAGS=--base-url $(gh api "repos/$GITHUB_REPOSITORY/pages" --jq '.html_url')" >> $GITHUB_ENV + run: echo "GITHUB_PAGES_URL=$(gh api "repos/$GITHUB_REPOSITORY/pages" --jq '.html_url')" >> $GITHUB_ENV - - uses: shalzz/zola-deploy-action@v0.18.0 - env: - BUILD_ONLY: true - BUILD_DIR: docs/website + - uses: taiki-e/install-action@v2 + with: + tool: zola@0.18.0 + + - run: zola build --base-url $GITHUB_PAGES_URL + working-directory: docs/website - uses: actions/upload-artifact@v4 with: