This repository has been archived by the owner on Aug 30, 2024. It is now read-only.
fix: 代码高亮加入白天/黑夜模式 #9
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 | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16.19.0 | |
# - name: Install yarn | |
# run: npm install -g yarn@1.22.19 | |
# - name: Install dependencies | |
# run: yarn install | |
# - name: Build | |
# run: yarn build | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/github-pages-deploy-action@4.1.5 | |
with: | |
branch: gh-pages | |
folder: example/.vuepress/dist |