Skip to content

Commit 70f1c5a

Browse files
committed
Add page artifact uploading.
1 parent 91433f2 commit 70f1c5a

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/publish_docs_preview_branch.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,19 @@ permissions:
1212
pages: 'write'
1313
id-token: 'write'
1414

15+
1516
jobs:
1617
stage:
1718
name: "Stage PR preview from branch to pages"
1819
runs-on: 'ubuntu-latest'
1920
steps:
2021
- uses: 'actions/checkout@v4'
22+
with:
23+
ref: 'refs/heads/gh-pages'
24+
- name: 'Upload artifact'
25+
uses: 'actions/upload-pages-artifact@v3'
26+
with:
27+
path: '.'
2128
deploy:
2229
name: "Deploy PR Preview from branch to pages"
2330
needs: 'stage'

0 commit comments

Comments
 (0)