From 4c47473593d5faebbc1636d815a379aa423bc9d0 Mon Sep 17 00:00:00 2001 From: unidevel Date: Thu, 19 Jun 2025 13:20:50 +0100 Subject: [PATCH] Fix the publishing state of gh-pages --- .github/workflows/publish.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e28b603a5..f0e899e4b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,6 +5,8 @@ on: branches: [source] push: branches: [source] + paths: + - 'website/**' jobs: checks: @@ -30,4 +32,6 @@ jobs: - name: Fetch credentials run: echo "machine github.com login presto-oss password ${{ secrets.PRESTOOSS_PUBLISH_TOKEN }}" > ~/.netrc - name: Release to GitHub Pages - run: cd website && yarn install && GIT_USER="presto-oss" yarn run publish-gh-pages | (head -c 32768; echo "... skipping output ..."; tail -c 32768) + run: | + set -o pipefail + cd website && yarn install && GIT_USER="presto-oss" yarn run publish-gh-pages | (head -c 32768; echo "... skipping output ..."; tail -c 32768)