From 5acd9ee60bc3ab8ae7c65d02c2c5a8c99d6927b7 Mon Sep 17 00:00:00 2001 From: Florian Kaiser <44125287+H4CK3R-01@users.noreply.github.com> Date: Fri, 25 Mar 2022 11:25:16 +0100 Subject: [PATCH] Update pipeline.yml --- .woodpecker/pipeline.yml | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/.woodpecker/pipeline.yml b/.woodpecker/pipeline.yml index 3d04b7e..6f6a4d3 100644 --- a/.woodpecker/pipeline.yml +++ b/.woodpecker/pipeline.yml @@ -46,21 +46,22 @@ pipeline: 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: - 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 + PLUGIN_SCRIPT=/opt/docker/TelegramAktienBot/deploy.sh branches: main