Initial commit: Astro blog scaffold with CI/CD
Deploy / build (push) Waiting to run

This commit is contained in:
2026-09-06 04:18:16 +08:00
commit 8372d5e659
15 changed files with 5976 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
name: Deploy
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Deploy to unRaid docroot
run: |
rm -rf /mnt/user/docker/blog/html/*
cp -r dist/* /mnt/user/docker/blog/html/