Files
blog-srv/.github/workflows/deploy.yml
yinxiaolong 7d8938c9ae
Some checks failed
Deploy Blog / build (push) Failing after 4s
ci: 更新代理配置地址
将 HTTP 和 HTTPS 代理从 10.255.0.1 更改为 host.docker.internal,并统一使用小写环境变量格式。
2026-07-23 18:09:36 +08:00

34 lines
677 B
YAML

name: Deploy Blog
on:
push:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
env:
http_proxy=http://host.docker.internal:7890
https_proxy=http://host.docker.internal:7890
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
#
# - name: Install dependencies
# run: pnpm install
#
# - name: Build
# run: pnpm run docs:build
#
# - name: Show build output
# run: ls -la docs/.vuepress/dist