Compare commits
4 Commits
20c4155fa4
...
e1cc1caa31
Author | SHA1 | Date |
---|---|---|
ktyl | e1cc1caa31 | |
ktyl | 4e4adf3b3c | |
ktyl | 9fc5be60ef | |
ktyl | 7fbc195a64 |
12
.drone.yml
12
.drone.yml
|
@ -31,11 +31,6 @@ steps:
|
||||||
from_secret: user
|
from_secret: user
|
||||||
SSH_KEY:
|
SSH_KEY:
|
||||||
from_secret: ssh_key
|
from_secret: ssh_key
|
||||||
|
|
||||||
when:
|
|
||||||
branch:
|
|
||||||
- main
|
|
||||||
|
|
||||||
commands:
|
commands:
|
||||||
# install deps
|
# install deps
|
||||||
- apt-get update -qq > /dev/null
|
- apt-get update -qq > /dev/null
|
||||||
|
@ -68,4 +63,9 @@ steps:
|
||||||
- rsync -rP site/* "$host:$${HOST}"
|
- rsync -rP site/* "$host:$${HOST}"
|
||||||
- ssh $host $delete_current_files
|
- ssh $host $delete_current_files
|
||||||
- ssh $host $deploy_new_files
|
- ssh $host $deploy_new_files
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
event:
|
||||||
|
exclude:
|
||||||
|
- pull_request
|
||||||
|
|
|
@ -3,4 +3,4 @@
|
||||||
url = https://github.com/ktyldev/ppp
|
url = https://github.com/ktyldev/ppp
|
||||||
[submodule "blog"]
|
[submodule "blog"]
|
||||||
path = blog
|
path = blog
|
||||||
url = https://git.pizzawednesday.club/ktyl/blog.git
|
url = https://sauce.pizzawednes.day/ktyl/blog.git
|
||||||
|
|
Loading…
Reference in New Issue