diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 89eb939..89de4f3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 }} \ No newline at end of file + run: bun run deploy --project-name pink diff --git a/package.json b/package.json index 44c6419..bf81897 100644 --- a/package.json +++ b/package.json @@ -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",