Skip to content

lastsunday 构建插件 #87

lastsunday 构建插件

lastsunday 构建插件 #87

Workflow file for this run

name: build
run-name: ${{ github.actor }} 构建插件
on:
push:
branches:
- dev
tags:
- "*"
permissions:
contents: write
jobs:
build-chrome-extension:
runs-on: ubuntu-latest
steps:
- name: 读取仓库
uses: actions/checkout@v4
- name: 打包
run: |
npm install
npm run build-chrome
- name: 部署
uses: JamesIves/[email protected]
with:
branch: dist/chrome-${{ github.ref_name }}
folder: dist-chrome
build-firefox-extension:
runs-on: ubuntu-latest
steps:
- name: 读取仓库
uses: actions/checkout@v4
- name: 打包
run: |
npm install
npm run build-firefox
- name: 部署
uses: JamesIves/[email protected]
with:
branch: dist/firefox-${{ github.ref_name }}
folder: dist-firefox