Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lanceewing committed Mar 8, 2024
2 parents 2202b8a + 4a33024 commit 4337770
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,19 @@ 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 }}
command: pages deploy html/build/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'

# 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.
Expand Down

0 comments on commit 4337770

Please sign in to comment.