Skip to content

Commit

Permalink
An attempt to get wrangler to pick up functions folder
Browse files Browse the repository at this point in the history
  • Loading branch information
lanceewing authored Mar 8, 2024
1 parent 9a20f0d commit f9b314a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,15 @@ jobs:
chmod u+x gradlew
./gradlew html:dist
rm -rf html/build/dist/WEB-INF
mv html/build/dist/functions ..
- name: Publish to Cloudflare Pages
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy html/build/dist --project-name='agile-gdx' --commit-dirty=true
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 }}
Expand Down

0 comments on commit f9b314a

Please sign in to comment.