Skip to content

Commit e800b8e

Browse files
authored
Merge pull request #15128 from apache/docs-grails-website
Update release workflow to publish doc to grails-website
2 parents 57b0be4 + 9544f10 commit e800b8e

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,16 @@ jobs:
529529
needs: [ publish, source, upload ] # TODO Once we have confirmed release won't fail, add it as a dependency here
530530
runs-on: ubuntu-24.04
531531
steps:
532+
- name: Maximize build space
533+
uses: easimon/maximize-build-space@c28619d8999a147d5e09c1199f84ff6af6ad5794
534+
with:
535+
root-reserve-mb: 3072 # Leave ~3 GB on root FS
536+
swap-size-mb: 2048 # Allocate 2 GB swap (default: 4 GB; reduce if not needed)
537+
remove-dotnet: 'true' # Remove .NET SDK (~3-4 GB savings)
538+
remove-android: 'true' # Remove Android tools (~2 GB savings)
539+
remove-haskell: 'true' # Remove Haskell (~1 GB savings)
540+
remove-codeql: 'true' # Remove CodeQL (~500 MB savings)
541+
remove-docker-images: 'false' # Prune Docker if used (~1-2 GB savings)
532542
- name: "📥 Checkout repository"
533543
uses: actions/checkout@v4
534544
with:
@@ -554,10 +564,12 @@ jobs:
554564
uses: apache/grails-github-actions/deploy-github-pages@asf
555565
env:
556566
GH_TOKEN: ${{ secrets.GRAILS_GHTOKEN }}
557-
TARGET_REPOSITORY: 'apache/grails-doc'
558567
GRADLE_PUBLISH_RELEASE: 'true'
559568
SOURCE_FOLDER: grails-doc/build/docs
560569
VERSION: ${{ needs.publish.outputs.release_version }}
570+
TARGET_REPOSITORY: 'apache/grails-website'
571+
TARGET_FOLDER: 'docs'
572+
DOCUMENTATION_BRANCH: 'asf-site-production'
561573
sdkman:
562574
environment: sdkman
563575
name: "VOTE SUCCEEDED - Release to SDKMAN!"

0 commit comments

Comments
 (0)