You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by ja...@apache.org on 2025/06/06 17:59:50 UTC
(grails-static-website) 01/01: Delete .github/workflows/publish2.yml
This is an automated email from the ASF dual-hosted git repository.
jamesfredley pushed a commit to branch publishing-cleanup
in repository https://gitbox.apache.org/repos/asf/grails-static-website.git
commit fc73baa338b1ac95aee09efbadf9b16f888b75d4
Author: James Fredley <ja...@users.noreply.github.com>
AuthorDate: Fri Jun 6 13:59:44 2025 -0400
Delete .github/workflows/publish2.yml
---
.github/workflows/publish2.yml | 54 ------------------------------------------
1 file changed, 54 deletions(-)
diff --git a/.github/workflows/publish2.yml b/.github/workflows/publish2.yml
deleted file mode 100644
index 3045f10945..0000000000
--- a/.github/workflows/publish2.yml
+++ /dev/null
@@ -1,54 +0,0 @@
-name: Publish
-
-on:
- push:
- branches:
- - master
- schedule:
- - cron: '0 */2 * * *'
- workflow_dispatch:
-
-jobs:
- build:
- runs-on: ubuntu-latest
- permissions:
- contents: write
- if: github.repository == 'apache/grails-static-website'
- steps:
- - name: Checkout
- uses: actions/checkout@v4
- - name: Set up JDK
- uses: actions/setup-java@v4
- with:
- distribution: liberica
- java-version: '11'
- - name: Setup Gradle
- uses: gradle/actions/setup-gradle@v4
- with:
- develocity-access-key: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
-
- - name: Build main site
- run: ./gradlew clean build
- env:
- GRAILS_WS_URL: https://grails.staged.apache.org/
-
- - name: Sync main site
- uses: betahuhn/repo-file-sync-action@v1
- with:
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- SOURCE_DIR: 'build/dist/'
- DESTINATION_REPO: 'apache/grails-static-website'
- DESTINATION_BRANCH: 'asf-site-staging'
- COMMIT_MESSAGE: "Updating from GitHub Actions run:${{ github.run_id }}"
-
- - name: Build guides site
- run: ./gradlew clean buildGuide
-
- - name: Sync guides site
- uses: betahuhn/repo-file-sync-action@v1
- with:
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- SOURCE_DIR: 'build/dist/'
- DESTINATION_REPO: 'grails-guides/grails-guides-template'
- DESTINATION_BRANCH: 'gh-pages'
- COMMIT_MESSAGE: "Updating from GitHub Actions run:${{ github.run_id }}"