diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index 7fd271878..7f06dc066 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -42,14 +42,15 @@ jobs: - name: Build site run: | - node_modules/.bin/load-global-playbook \ - -r hazelcast/hz-docs \ - -b "${BRANCH}" - node_modules/.bin/antora \ - --to-dir docs \ - --log-level=warn \ - --log-failure-level=warn \ - --fetch global-antora-playbook.yml + ./node_modules/.bin/load-global-playbook \ + -r hazelcast/hz-docs \ + -b "${BRANCH}" + ./node_modules/.bin/antora \ + --fetch \ + --to-dir docs \ + --log-level=warn \ + --log-failure-level=warn \ + global-antora-playbook.yml env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} BRANCH: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.base.ref || github.ref_name }}