Skip to content

Commit

Permalink
Change used action for website (Squash with b698846)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaasJG committed May 4, 2024
1 parent 3104c09 commit 7620ebd
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
env:
BUILD_ONLY: true
BUILD_DIR: docs/website
- uses: taiki-e/install-action@v2
with:
tool: [email protected]

- run: zola build --base-url $GITHUB_PAGES_URL
working-directory: docs/website

- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 7620ebd

Please sign in to comment.