Files
blog-srv/.github/workflows/deploy.yml
yinxiaolong 8474fd5180
Some checks failed
Deploy Blog / build (push) Failing after 3s
ci: 更新代理配置地址
将 HTTP 和 HTTPS 代理从 10.255.0.1 更
2026-07-23 18:15:50 +08:00

37 lines
779 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: test
run: curl -x localhost:7890 ip.sb
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: '8.5'
extensions: imagick, redis
#
# - name: Install dependencies
# run: pnpm install
#
# - name: Build
# run: pnpm run docs:build
#
# - name: Show build output
# run: ls -la docs/.vuepress/dist