fix pipeline
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
941fe07084
commit
92d45ca71e
|
@ -44,22 +44,25 @@ steps:
|
|||
- build/ci/Dockerfile
|
||||
- deploy/docker-compose.yml
|
||||
- migrations
|
||||
- cmd
|
||||
- butler
|
||||
rm: true
|
||||
|
||||
# - name: deploy
|
||||
# pull: if-not-exists
|
||||
# image: appleboy/drone-ssh
|
||||
# settings:
|
||||
# host:
|
||||
# from_secret: SSH_IP
|
||||
# username:
|
||||
# from_secret: SSH_USER
|
||||
# key:
|
||||
# from_secret: SSH_KEY
|
||||
# port:
|
||||
# from_secret: SSH_PORT
|
||||
# script:
|
||||
- name: deploy
|
||||
pull: if-not-exists
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
host:
|
||||
from_secret: SSH_IP
|
||||
username:
|
||||
from_secret: SSH_USER
|
||||
key:
|
||||
from_secret: SSH_KEY
|
||||
port:
|
||||
from_secret: SSH_PORT
|
||||
script:
|
||||
- mv build/ci/Dockerfile .
|
||||
- mv deploy/docker-compose.yml .
|
||||
- rm -r build deploy
|
||||
|
||||
# TODO:
|
||||
# scp bin, Dockerfile, docker-compose
|
||||
|
|
Loading…
Reference in New Issue