diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index baad3dd..3f20611 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -42,21 +42,21 @@ jobs: mv html/build/dist/functions html/build - name: Publish to Cloudflare Pages - uses: cloudflare/wrangler-action@v3 + #uses: cloudflare/wrangler-action@v3 + #with: + # apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} + # accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} + # workingDirectory: html/build + # command: pages deploy dist --project-name='agile-gdx' --commit-dirty=true + uses: cloudflare/pages-action@1 with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} + projectName: 'agile-gdx' workingDirectory: html/build - command: pages deploy dist --project-name='agile-gdx' --commit-dirty=true - - #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' + directory: 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.