Skip to content

Commit 8401da0

Browse files
committed
feat: add daily rebuild workflow for Cloudflare Pages
1 parent 112beeb commit 8401da0

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Daily Cloudflare Pages Rebuild
2+
3+
on:
4+
schedule:
5+
- cron: "0 10 * * *" # 毎日19:00(JST)に自動実行(UTC基準)
6+
workflow_dispatch:
7+
8+
jobs:
9+
rebuild:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Trigger via Deploy Hook
13+
run: curl -sS -X POST "${{ secrets.CF_DEPLOY_HOOK_URL }}" --fail

.gitignore

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# build output
2+
dist/
3+
4+
# generated types
5+
.astro/
6+
.notion-to-md/
7+
8+
# dependencies
9+
node_modules/
10+
11+
# logs
12+
npm-debug.log*
13+
yarn-debug.log*
14+
yarn-error.log*
15+
pnpm-debug.log*
16+
17+
# environment variables
18+
.env
19+
.env.production
20+
21+
# macOS-specific files
22+
.DS_Store
23+
24+
# jetbrains setting folder
25+
.idea/
26+
27+
# vscode setting folder
28+
.vscode/
29+
30+
# test folder
31+
test/
32+
33+
# local cache
34+
.cache/

0 commit comments

Comments
 (0)