只有master分支触发打包
This commit is contained in:
parent
6b7dc33bce
commit
f09b77e689
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user