Skip to content

docs: update README.md #3

docs: update README.md

docs: update README.md #3

Workflow file for this run

name: Deploy static content to Pages
on:
push:
branches: ['main']
pull_request:
branches: ['main']
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: Use Node.js πŸ’Ύ
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Install Dependencies And Build πŸ”§
run: pnpm install --frozen-lockfile && pnpm build
- name: Deploy with gh-pages πŸ“¦
run: |
git config --global user.email "[email protected]"
git config --global user.name "chan9yu"
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
pnpm run deploy -- -u "github-actions-bot <[email protected]>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}