Skip to content

Commit 35b39b4

Browse files
author
Michael Ryan Hunsaker
committed
CI: add Pages diagnostics and ensure artifact upload
1 parent 35a1700 commit 35b39b4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/site-deploy.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@ jobs:
4242
- name: Build Maven Site
4343
run: mvn -B -U -e -V clean site
4444

45+
- name: List site output
46+
run: ls -la target/site || true
47+
4548
- name: Upload Pages artifact
49+
if: ${{ always() }}
4650
uses: actions/upload-pages-artifact@v3
4751
with:
4852
path: target/site
@@ -57,3 +61,7 @@ jobs:
5761
- name: Deploy to GitHub Pages
5862
id: deployment
5963
uses: actions/deploy-pages@v4
64+
65+
- name: Show deployed URL
66+
if: ${{ always() }}
67+
run: echo "Page URL: ${{ steps.deployment.outputs.page_url }}"

0 commit comments

Comments
 (0)