Skip to content

Commit c77c03a

Browse files
committed
chore: update deploy action
1 parent 2e6a78d commit c77c03a

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/deploy.yaml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ jobs:
1313
deploy:
1414
name: Cloudflare Pages
1515
runs-on: ubuntu-latest
16-
permissions:
17-
contents: read
18-
deployments: write
1916

2017
steps:
2118
- name: Checkout
@@ -33,13 +30,9 @@ jobs:
3330
- name: Build
3431
run: npm run build
3532

36-
- name: Publish
37-
uses: cloudflare/pages-action@1
33+
- name: Deploy
34+
uses: cloudflare/wrangler-action@v3
3835
with:
3936
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
4037
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
41-
projectName: barrenechea-website
42-
directory: dist
43-
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
44-
# Enable Wrangler v3
45-
wranglerVersion: "3"
38+
command: pages deploy dist --project-name=barrenechea-website

0 commit comments

Comments
 (0)