Skip to content

fix: fix the problem that the meta env value of runtime/fetch is inco… #28

fix: fix the problem that the meta env value of runtime/fetch is inco…

fix: fix the problem that the meta env value of runtime/fetch is inco… #28

Workflow file for this run

name: gh-pages
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
deploy-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Set node version to 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Deploy with gh-pages
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
pnpm deploy:gh-pages -u "github-actions-bot <support+actions@github.com>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}