This is an automated email from the ASF dual-hosted git repository.
jamesfredley pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/grails-forge-ui.git
The following commit(s) were added to refs/heads/main by this push:
new 3b2ae6a Update publish workflow to use deploy-github-pages action
3b2ae6a is described below
commit 3b2ae6a34e30770d0c86697f88b96d0f3e647a47
Author: James Fredley <[email protected]>
AuthorDate: Thu Oct 23 19:39:17 2025 -0400
Update publish workflow to use deploy-github-pages action
Replaces the custom publish script with the
apache/grails-github-actions/deploy-github-pages action. Updates environment
variables to support deployment to the Grails website repository and sets
relevant deployment parameters.
---
.github/workflows/publish.yml | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index b3deada..59fbbe6 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -21,8 +21,12 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- - name: Publish Grails Forge UI
- run: ./publish.sh
+ - name: "🚀 Publish Grails Forge UI"
+ uses: apache/grails-github-actions/deploy-github-pages@asf
env:
- GITHUB_SLUG: grails/grails-forge-ui
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file
+ GH_TOKEN: ${{ secrets.GRAILS_GHTOKEN }}
+ GRADLE_PUBLISH_RELEASE: 'false'
+ SOURCE_FOLDER: build/launch
+ TARGET_REPOSITORY: 'apache/grails-website'
+ TARGET_FOLDER: 'start'
+ DOCUMENTATION_BRANCH: 'asf-site-production'
\ No newline at end of file