diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index c13cab8..de2333e 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -4,7 +4,7 @@ name: Generate a build and push to Cloudflare Pages on: push: branches: - - main + - prod jobs: build: diff --git a/package.json b/package.json index 1193146..e06449a 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,8 @@ "preview": "astro preview", "astro": "astro", "generate:og": "tsx scripts/generate-og-image.ts", - "prettier": "prettier --write **/*.{ts,tsx,css,astro} --ignore-path .gitignore" + "prettier": "prettier --write **/*.{ts,tsx,css,astro} --ignore-path .gitignore", + "deploy": "git push origin main:prod" }, "dependencies": { "@astrojs/check": "^0.9.8",