diff --git a/.woodpecker/woodpecker.yml b/.woodpecker/woodpecker.yml new file mode 100644 index 0000000..95138fa --- /dev/null +++ b/.woodpecker/woodpecker.yml @@ -0,0 +1,12 @@ +when: + - event: push + +steps: + - name: Deploy + image: node:20-alpine + commands: + - npm install -g pnpm + - pnpm install --frozen-lockfile + - pnpm run build + - pnpx wrangler pages deploy dist + secrets: [ cf_api_token, content_api_url, content_api_key ] diff --git a/package.json b/package.json index 61f1754..8624ca7 100644 --- a/package.json +++ b/package.json @@ -39,10 +39,4 @@ "prettier-plugin-astro": "^0.13.0", "simple-git-hooks": "^2.11.1" }, - "simple-git-hooks": { - "pre-commit": "pnpm lint-staged" - }, - "lint-staged": { - "*": "pnpm lint:fix" - } }