Skip to content

Commit a39a75a

Browse files
committed
set branch path
1 parent 9c98ea2 commit a39a75a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/branch-preview.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,17 @@ jobs:
4747
run: |
4848
php phd/render.php --docbook doc-base/.manual.xml --package PHP --format xhtml
4949
50+
- name: Add Pull Request Path
51+
run: |
52+
PR_NUMBER=${{ github.event.pull_request.number }}
53+
mkdir -p ./output/pr/$PR_NUMBER
54+
mv ./output/php-chunked-xhtml/* ./output/pr/$PR_NUMBER/
55+
5056
- name: Upload static files as artifact
5157
id: deployment
5258
uses: actions/upload-pages-artifact@v3
5359
with:
54-
path: output/php-chunked-xhtml/
60+
path: ./output/
5561

5662
deploy:
5763
permissions:

0 commit comments

Comments
 (0)