Files
blog-srv/.github/workflows/deploy.yml
yinxiaolong 215396f062
Some checks failed
Deploy Blog / build (push) Failing after 7s
chore: 初始化工作流
2026-07-23 16:31:05 +08:00

37 lines
767 B
YAML

name: Deploy Blog
on:
push:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
env:
HTTP_PROXY: http://10.255.0.1:7890
HTTPS_PROXY: http://10.255.0.1:7890
http_proxy: http://10.255.0.1:7890
https_proxy: http://10.255.0.1:7890
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- run: ls -la
# - 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