Skip to content

Commit

Permalink
add link without action
Browse files Browse the repository at this point in the history
  • Loading branch information
christofgehrig committed Feb 3, 2025
1 parent 3ba53ff commit 2e49764
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2e49764

Please sign in to comment.