chore(deps): update dependency vercel to v33.4.0 (#2239) #4
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 theme docs | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: pnpm | |
- name: Install Dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Build API | |
run: pnpm api:build | |
- name: Build Client | |
run: pnpm client:build | |
- name: Build Docs | |
run: |- | |
pnpm docs:build | |
> docs/src/.vuepress/dist/.nojekyll | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages | |
folder: docs/src/.vuepress/dist | |
ssh-key: ${{ secrets.SSH_TOKEN }} | |
repository-name: walinejs/walinejs.github.io |