Skip to content

Commit

Permalink
Switching back to pages-action
Browse files Browse the repository at this point in the history
  • Loading branch information
lanceewing authored Mar 8, 2024
1 parent e1a299a commit 8da7bcd
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8da7bcd

Please sign in to comment.