From f4dbbed8e2bce1b138ff8fcc2e06599fd5fbae57 Mon Sep 17 00:00:00 2001 From: Lance Ewing Date: Mon, 4 Mar 2024 22:19:38 +0000 Subject: [PATCH] Update gradle.yml --- .github/workflows/gradle.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 53bf68e..76ebe01 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -37,6 +37,16 @@ jobs: run: | chmod u+x gradlew ./gradlew html:dist + rm -rf html/build/dist/WEB-INF + + - name: Publish to Cloudflare Pages + uses: cloudflare/pages-action@1 + with: + apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} + accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} + projectName: 'agile-gdx' + directory: 'html/build/dist' + gitHubToken: ${{ secrets.GITHUB_TOKEN }} # NOTE: The Gradle Wrapper is the default and recommended way to run Gradle (https://docs.gradle.org/current/userguide/gradle_wrapper.html). # If your project does not have the Gradle Wrapper configured, you can use the following configuration to run Gradle with a specified version.