This is an automated email from the ASF dual-hosted git repository.

jamesbognar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juneau.git


The following commit(s) were added to refs/heads/master by this push:
     new a1eb87086 Debug doc generation issue on GitHub.
a1eb87086 is described below

commit a1eb870860166c90c17a55c740bcb178961b963d
Author: James Bognar <[email protected]>
AuthorDate: Mon Sep 22 16:30:14 2025 -0400

    Debug doc generation issue on GitHub.
---
 .asf.yaml                   | 8 +++++++-
 .github/workflows/pages.yml | 8 ++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/.asf.yaml b/.asf.yaml
index 23ed46fc8..d9a6c0590 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -19,4 +19,10 @@ github:
     wiki: true
     issues: true
     projects: true
-  ghp_path: "/docs"
\ No newline at end of file
+    discussions: true
+  ghp_path: "/docs"
+  ghp_branch: "master"
+  del_branch_on_merge: true   # Delete head branches after merge
+  squash_merge: true          # Allow squash merging
+  merge_commit: true          # Allow merge commits
+  rebase_merge: true          # Allow rebase merging
\ No newline at end of file
diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml
index 3acb09fd9..eba09a600 100644
--- a/.github/workflows/pages.yml
+++ b/.github/workflows/pages.yml
@@ -78,11 +78,19 @@ jobs:
           # Generate complete project site
           mvn site -DskipTests
 
+      - name: Debug Token Permissions
+        run: |
+          echo "Token permissions check..."
+          curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
+               -H "Accept: application/vnd.github.v3+json" 
+               "https://api.github.com/user"; || echo "Token validation failed"
+
       - name: Setup Pages
         uses: actions/configure-pages@v4
         with:
           # Enable Pages if not already enabled
           enablement: true
+          token: ${{ secrets.GITHUB_TOKEN }}
 
       - name: Upload artifact
         uses: actions/upload-pages-artifact@v3

Reply via email to