Skip to content

Commit

Permalink
Actualización a cloudflare/wrangler-action
Browse files Browse the repository at this point in the history
cloudflare/pages-action sin soporte
  • Loading branch information
PGSCOM authored Nov 23, 2024
1 parent a72727f commit 1edecb4
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,9 @@ jobs:


- name: Publish to Cloudflare Pages
uses: PGSCOM/pages-action@v1.5.1
uses: cloudflare/wrangler-action@v3.10.0
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: maculaweb
directory: ./build
# Optional: Enable this if you want to have GitHub Deployments triggered
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
# Optional: Switch what branch you are publishing to.
# By default this will be the branch which triggered this workflow
branch: main
# Optional: Change the Wrangler version, allows you to point to a specific version or a tag such as `beta`
wranglerVersion: '3'

command: pages deploy ./build --project-name=maculaweb
gitHubToken: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1edecb4

Please sign in to comment.