Skip to content

feat(图片插入): 支持指定图片插入位置 #281

feat(图片插入): 支持指定图片插入位置

feat(图片插入): 支持指定图片插入位置 #281

Workflow file for this run

name: Vue Auto Deploy
on:
push:
branches: [ "main", "master" ] # 监听主分支的代码推送
permissions:
contents: write # 允许写入gh-pages分支
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4 # 检出代码
- name: Install Dependencies
run: npm install --legacy-peer-deps
- name: Build Project
run: npm run build # 执行打包命令
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages # 部署到gh-pages分支
folder: dist # 指定打包目录
github_token: ${{ secrets.GITHUB_TOKEN }}