4
All checks were successful
ci/woodpecker/push/publish Pipeline was successful

This commit is contained in:
2024-12-04 14:50:12 +03:00
parent de3fceb031
commit 803c73fd6a
2 changed files with 18 additions and 1 deletions

View File

@@ -15,4 +15,19 @@ steps:
username: akulovsergei
password:
from_secret: docker_token
deploy:
image: appleboy/drone-ssh
settings:
host: akulovs.ru
port: 2121
username:
from_secret: woodpecker_ssh_user
key:
from_secret: woodpecker_ssh_key
script:
- docker pull akulovsergei/test-app:latest
- docker stop test-app || true
- docker rm test-app || true
- docker run -d --name test-app -p 5000:5000 akulovsergei/test-app:latest