deploy ci fix
This commit is contained in:
parent
fa0cf72f50
commit
408d034bab
@ -1,5 +1,4 @@
|
|||||||
services:
|
|
||||||
- mysql:latest
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
@ -55,9 +54,12 @@ test:
|
|||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
image: mysql:latest
|
||||||
script:
|
script:
|
||||||
- apt-get update && apt-get --assume-yes install sshpass
|
- apt-get update && apt-get --assume-yes install sshpass
|
||||||
- ci-cd/deploy.sh
|
- ci-cd/deploy.sh
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
|
||||||
after_script:
|
after_script:
|
||||||
- echo "End CI"
|
- echo "End CI"
|
||||||
|
Loading…
Reference in New Issue
Block a user