增加makefile快速打包插件 (#1173)

* 更新插件快捷打包

使用方法:make plugin PLUGIN="这里是插件文件夹名称,默认为email"
This commit is contained in:
tscuite
2022-07-19 18:47:29 +08:00
committed by GitHub
parent 82fcc196df
commit 9ac66f57fa
6 changed files with 23 additions and 11 deletions

View File

@@ -19,7 +19,7 @@ jobs:
- name: Sed Config
shell: bash
run: |
sed -i 51c"\ && yarn install && yarn build" Makefile
sed -i 56c"\ && yarn install && yarn build" Makefile
make image TAGS_OPT="latest"
sed -i 's#./entrypoint.sh"#./entrypoint.sh","actions"#g' deploy/docker/Dockerfile
sed -i "s#COPY build/ /usr/share/nginx/html/#COPY . /opt/gva#g" deploy/docker/Dockerfile