mirror of
https://github.com/andwati/andwati.com.git
synced 2026-10-18 01:12:53 +00:00
cloudflare build
This commit is contained in:
@@ -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,3 +1,4 @@
|
||||
public
|
||||
node_modules
|
||||
.wrangler
|
||||
manimations/*.*
|
||||
@@ -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.
|
||||
Generated
+1551
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"name": "andwati-com",
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"wrangler": "^4"
|
||||
},
|
||||
"scripts": {
|
||||
"deploy": "zola build && wrangler deploy"
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user