Skip to content

Commit 4c47473

Browse files
committed
Fix the publishing state of gh-pages
1 parent 892c5d1 commit 4c47473

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches: [source]
66
push:
77
branches: [source]
8+
paths:
9+
- 'website/**'
810

911
jobs:
1012
checks:
@@ -30,4 +32,6 @@ jobs:
3032
- name: Fetch credentials
3133
run: echo "machine github.com login presto-oss password ${{ secrets.PRESTOOSS_PUBLISH_TOKEN }}" > ~/.netrc
3234
- name: Release to GitHub Pages
33-
run: cd website && yarn install && GIT_USER="presto-oss" yarn run publish-gh-pages | (head -c 32768; echo "... skipping output ..."; tail -c 32768)
35+
run: |
36+
set -o pipefail
37+
cd website && yarn install && GIT_USER="presto-oss" yarn run publish-gh-pages | (head -c 32768; echo "... skipping output ..."; tail -c 32768)

0 commit comments

Comments
 (0)