Skip to content

Commit

Permalink
Use local wrangler to deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
kotx committed Feb 18, 2024
1 parent e1e9be9 commit 9ac9cc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,4 @@ jobs:
run: bun run build

- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: afdc9b319dc9eb7543f28d8e7cd900c0
projectName: pink
directory: dist/
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
run: bun run deploy --project-name pink
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"start": "astro dev",
"build": "astro build",
"preview": "wrangler pages dev ./dist",
"astro": "astro"
"deploy": "wrangler pages deploy ./dist"
},
"dependencies": {
"@astrojs/cloudflare": "^9.0.1",
Expand Down

0 comments on commit 9ac9cc2

Please sign in to comment.