Skip to content

♻️ 重构(message.py):改进变量命名,从bastUrl改为bast_url,以符合Python的PEP8命名规范 #7

♻️ 重构(message.py):改进变量命名,从bastUrl改为bast_url,以符合Python的PEP8命名规范

♻️ 重构(message.py):改进变量命名,从bastUrl改为bast_url,以符合Python的PEP8命名规范 #7

Workflow file for this run

name: Deploy
on:
push:
paths:
- 'docs/**'
defaults:
run:
shell: bash
working-directory: ./docs
jobs:
github_pages_deploy:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
- uses: actions/checkout@v3
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Install dependencies
run: |
npm install
npm run export
- name: Deploy with gh-pages
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
npm run deploy -- -u "github-actions-bot <[email protected]>"
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}