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
This commit is contained in:
ktyl 2022-09-28 02:38:53 +02:00
commit 4e4adf3b3c
1 changed files with 6 additions and 6 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