Skip to content

Commit af344fd

Browse files
committed
add deploy preview
1 parent 0788d9f commit af344fd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/test-deploy.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,9 @@ jobs:
2626
- name: Test build website
2727
run: |
2828
npm run build
29-
npm run build:docs
29+
npm run build:docs
30+
- name: Deploy preview
31+
if: github.event.action != 'closed'
32+
uses: rossjrw/pr-preview-action@v1
33+
with:
34+
source-dir: ./build/docs/gatsby/public

0 commit comments

Comments
 (0)