fix: 调整深色模式下编辑器样式 #13
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: Build and Deploy | |
on: | |
push: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
BuildProject: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '16' | |
- name: Install pnpm | |
uses: pnpm/[email protected] | |
id: pnpm-install | |
with: | |
version: 7 | |
run_install: false | |
- name: Install dependencies | |
run: pnpm install | |
- name: Build | |
run: pnpm run build | |
- name: Deploy Github Pages | |
uses: JamesIves/github-pages-deploy-action@releases/v4 | |
with: | |
folder: ./dist | |
branch: gh-pages | |
ssh-key: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }} |