Skip to content

Commit bedb68e

Browse files
committed
Restore the two separate artifacts for now
1 parent 001f04a commit bedb68e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/build-and-deploy-javadoc.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,13 @@ jobs:
8787
- name: Add .nojekyll file
8888
run: echo > processing4/build/javadoc/.nojekyll
8989

90-
- name: Upload Javadocs artifact
90+
- name: Upload Javadocs artifact for Deployment
91+
uses: actions/upload-pages-artifact@v3
92+
with:
93+
name: github-pages
94+
path: processing4/build/javadoc
95+
96+
- name: Upload Javadocs artifact for Commit
9197
uses: actions/upload-artifact@v4
9298
with:
9399
name: javadocs
@@ -111,7 +117,7 @@ jobs:
111117
id: deployment
112118
uses: actions/deploy-pages@v4
113119
with:
114-
artifact_name: javadocs
120+
artifact_name: github-pages
115121

116122
- name: Echo the output page URL
117123
run: echo "Your site is live at ${{ steps.deployment.outputs.page_url }}"

0 commit comments

Comments
 (0)