diff --git a/.github/workflows/pull_request_deploy_preview.yml b/.github/workflows/pull_request_deploy_preview.yml index 82f7cab85e..7b9b952383 100644 --- a/.github/workflows/pull_request_deploy_preview.yml +++ b/.github/workflows/pull_request_deploy_preview.yml @@ -30,7 +30,7 @@ jobs: - name: build website run: echo $BASE_URL && npm run build env: - BASE_URL: /java-docs/preview-${{ github.ref }} + BASE_URL: /java-docs/preview-${{ github.event.number }} - name: Deploy preview uses: rossjrw/pr-preview-action@v1