From 2e49764da456ab0e9d2d7956bd2708b9431294de Mon Sep 17 00:00:00 2001 From: christofgehrig Date: Mon, 3 Feb 2025 19:46:19 +0100 Subject: [PATCH] add link without action --- .github/workflows/build-preview.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-preview.yaml b/.github/workflows/build-preview.yaml index 52842860..4d613c7b 100644 --- a/.github/workflows/build-preview.yaml +++ b/.github/workflows/build-preview.yaml @@ -38,17 +38,17 @@ jobs: ruby-version: "3.0" bundler-cache: true - - name: Get Pages url - if: github.event.action != 'closed' - id: pages - uses: actions/configure-pages@v2 - with: - enablement: false + # - name: Get Pages url + # if: github.event.action != 'closed' + # id: pages + # uses: actions/configure-pages@v2 + # with: + # enablement: false - name: Build preview version of site if: github.event.action != 'closed' run: | - JEKYLL_ENV=production bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path || '' }}/${{ env.PREVIEWS_FOLDER }}/pr-${{ github.event.number }}" + JEKYLL_ENV=production bundle exec jekyll build --baseurl "https://sciai-lab.org/${{ env.PREVIEWS_FOLDER }}/pr-${{ github.event.number }}" - name: Commit preview to Pages branch uses: rossjrw/pr-preview-action@v1