Compare commits

...

4 Commits

Author SHA1 Message Date
ktyl e1cc1caa31 update submodule location
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2022-09-28 22:44:11 +01:00
ktyl 4e4adf3b3c Merge pull request 'pull-request-execution' (#3) from pull-request-execution into main
continuous-integration/drone/push Build is passing Details
Reviewed-on: https://git.pizzawednesday.club/ktyl/ktyl.dev/pulls/3
2022-09-28 02:38:53 +02:00
ktyl 9fc5be60ef don't deploy on pull requests
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2022-09-28 01:35:38 +01:00
ktyl 7fbc195a64 restrict deploy step to main branch 2022-09-28 01:35:38 +01:00
2 changed files with 7 additions and 7 deletions

View File

@ -31,11 +31,6 @@ steps:
from_secret: user
SSH_KEY:
from_secret: ssh_key
when:
branch:
- main
commands:
# install deps
- apt-get update -qq > /dev/null
@ -68,4 +63,9 @@ steps:
- rsync -rP site/* "$host:$${HOST}"
- ssh $host $delete_current_files
- ssh $host $deploy_new_files
when:
branch:
- main
event:
exclude:
- pull_request

2
.gitmodules vendored
View File

@ -3,4 +3,4 @@
url = https://github.com/ktyldev/ppp
[submodule "blog"]
path = blog
url = https://git.pizzawednesday.club/ktyl/blog.git
url = https://sauce.pizzawednes.day/ktyl/blog.git