update design #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Deploy v3 docs" | |
on: | |
push: | |
branches: | |
- v3 | |
env: | |
CLOUDFLARE_API_TOKEN: ${{secrets.CLOUDFLARE_API_TOKEN}} | |
jobs: | |
v3-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: setup actions | |
uses: actions/checkout@v3 | |
- name: setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.5.1 | |
registry-url: https://registry.npmjs.org | |
- name: install dependencies | |
run: | | |
npm i -g pnpm | |
pnpm i --no-frozen-lockfile | |
- name: install wrangler | |
run: npm i -g wrangler | |
- name: build | |
working-directory: documentation | |
run: pnpm build | |
- name: deploy | |
run: wrangler pages deploy documentation/dist --project-name lucia-v3 --branch main |