This is an automated email from the ASF dual-hosted git repository.
jamesfredley pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/grails-static-website.git
The following commit(s) were added to refs/heads/master by this push:
new 2d95e9cb026 Update GitHub Actions to use publish.sh script
2d95e9cb026 is described below
commit 2d95e9cb0264efb44889a93a99c2dfc955f25782
Author: James Fredley <[email protected]>
AuthorDate: Wed Sep 24 16:46:27 2025 -0400
Update GitHub Actions to use publish.sh script
---
.github/workflows/publish.yml | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index b2acff9901d..05f95a856c0 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -34,15 +34,18 @@ jobs:
GRAILS_WS_URL: https://grails.apache.org
run: >
./gradlew clean build
- - name: "🚀 Publish Main Site"
- uses: apache/grails-github-actions/deploy-github-pages@asf
+ - name: Publish Main Site
+ run: ./publish.sh
env:
+ GITHUB_SLUG: apache/grails-static-website
GH_TOKEN: ${{ secrets.GRAILS_GHTOKEN }}
- GRADLE_PUBLISH_RELEASE: 'false'
- SOURCE_FOLDER: build/dist
- TARGET_REPOSITORY: 'apache/grails-website'
- DOCUMENTATION_BRANCH: 'asf-site-production'
- LAST_SNAPSHOT_FOLDER: '' # publish site to root
+ GH_BRANCH: asf-site-production
+ # AIRTABLE_BASE_ID: ${{ secrets.AIRTABLE_BASE_ID }}
+ # AIRTABLE_API_KEY: ${{ secrets.AIRTABLE_API_KEY }}
+ GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER: ${{
secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER }}
+ GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY: ${{
secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY }}
+ GRADLE_TASK: build
+ GRAILS_WS_URL: https://grails.apache.org
# TODO Fix Grails Guide Publishing
# - name: Publish Guides Site
# run: ./publish.sh