oldrabbittown/.woodpecker/deploy.yaml
JP100099 724afd2799
Some checks failed
ci/woodpecker/push/deploy Pipeline failed
added secrets
2025-07-11 22:23:06 +02:00

25 lines
505 B
YAML

when:
- event: push
branch: main
steps:
- name: deploy
image: appleboy/drone-scp
settings:
host: ${SERVER_HOST}
username: ${SERVER_USER}
port: ${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