Skip to content

Merge pull request #9 from soil-kt/alpha05 #8

Merge pull request #9 from soil-kt/alpha05

Merge pull request #9 from soil-kt/alpha05 #8

Workflow file for this run

name: Deploy
on:
push:
branches: [main]
paths:
- "index.md"
- "public/**"
- "guide/**"
- "ja/**"
- ".vitepress/**"
workflow_dispatch:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v3
- name: Set node version
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install deps
run: pnpm install
- name: Build
run: pnpm docs:build
- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_PAGES_DEPLOY_API_TOKEN }}
command: pages deploy .vitepress/dist --project-name=soil-docs