File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -29,18 +29,19 @@ jobs:
29
29
uses : gradle/actions/setup-gradle@v4
30
30
with :
31
31
develocity-access-key : ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
32
- - name : Publish Main Site
33
- run : ./publish.sh
32
+ - name : " 🔨 Build Website"
34
33
env :
35
- GITHUB_SLUG : apache/grails-static-website
36
- GH_TOKEN : ${{ secrets.GRAILS_GHTOKEN }}
37
- GH_BRANCH : asf-site-production
38
- # AIRTABLE_BASE_ID: ${{ secrets.AIRTABLE_BASE_ID }}
39
- # AIRTABLE_API_KEY: ${{ secrets.AIRTABLE_API_KEY }}
40
- GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER : ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER }}
41
- GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY : ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY }}
42
- GRADLE_TASK : build
43
34
GRAILS_WS_URL : https://grails.apache.org
35
+ run : >
36
+ ./gradlew clean build
37
+ - name : " 🚀 Publish Main Site"
38
+ uses : apache/grails-github-actions/deploy-github-pages@asf
39
+ env :
40
+ GH_TOKEN : ${{ secrets.GRAILS_GHTOKEN }}
41
+ GRADLE_PUBLISH_RELEASE : ' false'
42
+ SOURCE_FOLDER : /build/dist
43
+ TARGET_REPOSITORY : ' apache/grails-website'
44
+ DOCUMENTATION_BRANCH : ' asf-site-production'
44
45
# TODO Fix Grails Guide Publishing
45
46
# - name: Publish Guides Site
46
47
# run: ./publish.sh
You can’t perform that action at this time.
0 commit comments