AIVO.

Chào AIVO — pipeline deploy của tusgino

TL;DR — Bài mẫu kiểm chứng toàn bộ component Tier 1 của AIVO.

Luồng deploy

Luồng deployLuồng deploypush mainAction buildCloudflare Pages
Hình 1 — Luồng deploy · tusgino
Xem dữ liệu diagram
type: flowchart
title: Luồng deploy
nodes:
  - id: push
    label: push main
  - id: build
    label: Action build
    focal: true
  - id: cf
    label: Cloudflare Pages
edges:
  - [push, build]
  - [build, cf]
Traffic 7 ngày
Traffic 7 ngàyBiểu đồ bar: views theo T2, T3, T4class="chart-svg" viewBox="0 0 480 260" preserveAspectRatio="xMidYMid meet">views / T2: 120views / T3: 200views / T4: 160T2T3T4
views
Traffic 7 ngày
views
T2120
T3200
T4160

Cài đặt

Deploy
pnpm build
dist/ built trong 12s
astro.config.mjs
export default { output: 'static' };

Các bước

  1. Viết bàiTạo file .mdx trong content/posts/.
  2. Mở PRPreview deploy tự động cho mọi PR.
  3. Merge mainAction build rồi deploy production.

Số liệu

BướcThời gian
Build12s
Deploy90s

Trích dẫn mẫu: deploy tĩnh là deploy ít bất ngờ nhất. — tusgino

Câu hỏi thường gặp

Deploy mất bao lâu?
Khoảng 90 giây từ push main tới production.
Preview deploy xem ở đâu?
Mỗi PR có preview URL riêng trên Cloudflare Pages.
tusgino

Hạ tầng, automation, build pipeline.