Skip to content

Commit 2065a26

Browse files
authored
Merge pull request #233 from jdaugherty/8.0.x
Switch to grails/grails-github-actions/deploy-github-pages@main
2 parents 48af553 + 2740701 commit 2065a26

File tree

2 files changed

+11
-17
lines changed

2 files changed

+11
-17
lines changed

.github/workflows/gradle.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,10 @@ jobs:
8181
env:
8282
GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
8383
run: ./gradlew docs:docs --refresh-dependencies
84-
- name: "📤 Publish docs to Github Pages"
84+
- name: "🚀 Publish to Github Pages"
8585
if: steps.docs.outcome == 'success'
86-
uses: grails/github-pages-deploy-action@v2
86+
uses: grails/grails-github-actions/deploy-github-pages@main
8787
env:
88-
TARGET_REPOSITORY: ${{ github.repository }}
89-
GH_TOKEN: ${{ secrets.GH_TOKEN }}
90-
BRANCH: gh-pages
91-
FOLDER: docs/build/docs
92-
COMMIT_EMAIL: [email protected]
93-
COMMIT_NAME: grails-build
88+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
89+
GRADLE_PUBLISH_RELEASE: 'false'
90+
SOURCE_FOLDER: docs/build/docs

.github/workflows/release.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,11 @@ jobs:
118118
env:
119119
GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
120120
run: ./gradlew docs:docs
121-
- name: "📤 Publish documentation to Github Pages"
121+
- name: "🚀 Publish to Github Pages"
122122
if: success()
123-
uses: grails/github-pages-deploy-action@grails
123+
uses: grails/grails-github-actions/deploy-github-pages@main
124124
env:
125-
BETA: ${{ contains(needs.publish.outputs.release_version, 'M') || contains(needs.publish.outputs.release_version, 'RC') }}
126-
GH_TOKEN: ${{ secrets.GH_TOKEN }}
127-
BRANCH: gh-pages
128-
FOLDER: docs/build/docs
129-
VERSION: ${{ needs.publish.outputs.release_version }}
130-
COMMIT_EMAIL: ${{ env.GIT_USER_EMAIL }}
131-
COMMIT_NAME: ${{ env.GIT_USER_NAME }}
125+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
126+
GRADLE_PUBLISH_RELEASE: 'true'
127+
SOURCE_FOLDER: docs/build/docs
128+
VERSION: ${{ needs.publish.outputs.release_version }}

0 commit comments

Comments
 (0)