fix pipeline
continuous-integration/drone/push Build is failing Details

This commit is contained in:
user-penguin 2023-09-12 23:56:04 +07:00
parent 941fe07084
commit 92d45ca71e
1 changed files with 17 additions and 14 deletions

View File

@ -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