diff --git a/.woodpecker/deploy.yaml b/.woodpecker/deploy.yaml index fdfd728..63a4afa 100644 --- a/.woodpecker/deploy.yaml +++ b/.woodpecker/deploy.yaml @@ -6,20 +6,16 @@ steps: - name: deploy image: appleboy/drone-scp settings: - host: ${SERVER_HOST} - username: ${SERVER_USER} - port: ${SERVER_PORT} + host: + from_secret: server_host + username: + from_secret: server_user + port: + from_secret: server_port key: from_secret: ssh_key source: - "*.html" - css/* - img/* - target: ~/oldrabbittown/src - environment: - SERVER_HOST: - from_secret: server_host - SERVER_USER: - from_secret: server_user - SERVER_PORT: - from_secret: server_port + target: ~/oldrabbittown/src \ No newline at end of file