只有master分支触发打包

This commit is contained in:
戴炜 2024-05-17 09:16:01 +08:00
parent 6b7dc33bce
commit f09b77e689

View File

@ -20,6 +20,8 @@ build:
name: '${CI_PROJECT_NAME}_${CI_COMMIT_REF_NAME}_${CI_JOB_NAME}_${CI_PIPELINE_ID}'
paths:
- ./app/public/*
only:
- master
package:
tags:
@ -29,4 +31,6 @@ package:
- chmod +x ./deploy/package.sh && ./deploy/package.sh
dependencies:
- build
only:
- master