This is an automated email from the ASF dual-hosted git repository.
xuba pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/amoro.git
The following commit(s) were added to refs/heads/master by this push:
new 88b7ba4ba [Hotfix] Try to fix site-deploy permission problem (#4025)
88b7ba4ba is described below
commit 88b7ba4ba8a833a3db43823dd319668963aee088
Author: Sebb <[email protected]>
AuthorDate: Mon Jan 5 08:14:33 2026 +0000
[Hotfix] Try to fix site-deploy permission problem (#4025)
---
.github/workflows/site-deploy.yml | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/site-deploy.yml
b/.github/workflows/site-deploy.yml
index d7c99f394..804c434f7 100644
--- a/.github/workflows/site-deploy.yml
+++ b/.github/workflows/site-deploy.yml
@@ -17,6 +17,8 @@ jobs:
deploy-site-page:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
+ permissions:
+ contents: write
steps:
- uses: actions/checkout@v3
with:
@@ -60,6 +62,8 @@ jobs:
needs: deploy-site-page
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
+ permissions:
+ contents: write
steps:
- uses: actions/checkout@v3
with:
@@ -103,6 +107,8 @@ jobs:
deploy-versioned-docs-page:
if: (github.ref != 'refs/heads/master' && (startsWith(github.ref,
'refs/heads/') || startsWith(github.ref, 'refs/tags/')))
runs-on: ubuntu-latest
+ permissions:
+ contents: write
continue-on-error: true
steps:
- uses: actions/checkout@v3
@@ -156,4 +162,4 @@ jobs:
if git commit -m "Regenerated Amoro versioned docs page based on
${GITHUB_SHA} commit"
then
git push origin asf-site
- fi
\ No newline at end of file
+ fi