Compare commits

...

2 Commits

Author SHA1 Message Date
ktyl 2133e901ac 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:30:25 +01:00
ktyl 0d4528f46a restrict deploy step to main branch
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details
2022-09-28 01:24:45 +01:00
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