added deply pipeline
This commit is contained in:
parent
63fe6aa17f
commit
ec6d11033c
1 changed files with 18 additions and 0 deletions
18
.woodpecker/deploy.yaml
Normal file
18
.woodpecker/deploy.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
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
|
||||||
Loading…
Add table
Reference in a new issue