From 423a8864a61fed89fb1c1b1956293874bef48a41 Mon Sep 17 00:00:00 2001 From: Lance Ewing Date: Thu, 7 Mar 2024 16:47:12 +0000 Subject: [PATCH] An attempt to use wrangler-action instead of pages-action --- .github/workflows/gradle.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 97aba80..86d420c 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -41,14 +41,20 @@ jobs: rm -rf html/build/dist/WEB-INF - name: Publish to Cloudflare Pages - uses: cloudflare/pages-action@1 + uses: cloudflare/wrangler-action@v3 with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - projectName: 'agile-gdx' - directory: 'html/build/dist' - gitHubToken: ${{ secrets.GITHUB_TOKEN }} - wranglerVersion: '3' + workingDirectory: 'html/build/dist' + command: pages deploy --project-name='agile-gdx' + #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 }} + # wranglerVersion: '3' # 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.