Update pipeline.yml

This commit is contained in:
Florian Kaiser 2022-03-25 12:09:57 +01:00 committed by GitHub
parent 1855c9966c
commit c5c9a70df9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,25 +46,24 @@ pipeline:
dockerfile: frontend/Dockerfile
platforms: linux/amd64
# deploy:
# image: appleboy/drone-ssh
# network_mode: host
# secrets:
# - repo
# target: REPO
# - deploy_ip
# target: IP
# - deploy_net
# target: NET
# - deploy_name
# target: NAME
# - ssh_host
# target: PLUGIN_HOST
# - ssh_user
# target: PLUGIN_USERNAME
# - ssh_password
# target: PLUGIN_PASSWORD
# environment:
# PLUGIN_SCRIPT=/opt/docker/TelegramAktienBot/deploy.sh
deploy:
image: appleboy/drone-ssh
network_mode: host
settings:
REPO:
from_secret: repo
IP:
from_secret: deploy_ip
NET:
from_secret: deploy_net
NAME:
from_secret: deploy_name
PLUGIN_HOST:
from_secret: ssh_host
PLUGIN_USERNAME:
from_secret: ssh_user
PLUGIN_PASSWORD:
from_secret: ssh_password
PLUGIN_SCRIPT: /opt/docker/TelegramAktienBot/deploy.sh
# branches: main
branches: main