cloudflare build

This commit is contained in:
2026-07-16 14:17:47 +03:00
parent 512a54ba2d
commit 741086acfd
6 changed files with 1609 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
name: Deploy
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build site with Zola
run: docker run --rm -v ${{ github.workspace }}:/project -w /project ghcr.io/getzola/zola:v0.22.1 zola build
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm install
- name: Deploy to Cloudflare Workers
run: npx wrangler deploy
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
+1
View File
@@ -1,3 +1,4 @@
public
node_modules
.wrangler
manimations/*.*
+4
View File
@@ -52,3 +52,7 @@ All site-wide behavior/config (analytics, author/profile info, social links, nav
## Agent skills
`.agents/skills/` contains pulled-in skills (`animation-vocabulary`, `emil-design-eng`, `review-animations`) tracked via `skills-lock.json`, useful for UI/animation review and design-engineering guidance when touching templates or Sass.
## Git commits
Never add `Co-Authored-By: Claude` (or any other Claude/Anthropic self-attribution) to commit messages. Write commit messages as if authored solely by the user.
+1551
View File
File diff suppressed because it is too large Load Diff
+10
View File
@@ -0,0 +1,10 @@
{
"name": "andwati-com",
"private": true,
"devDependencies": {
"wrangler": "^4"
},
"scripts": {
"deploy": "zola build && wrangler deploy"
}
}
+14
View File
@@ -0,0 +1,14 @@
name = "andwati-com"
compatibility_date = "2026-07-16"
[assets]
directory = "./public"
not_found_handling = "404-page"
[[routes]]
pattern = "andwati.com"
custom_domain = true
[[routes]]
pattern = "www.andwati.com"
custom_domain = true