Change production deploy to only deploy on main branch (#135)
continuous-integration/drone/push Build is passing Details

pull/137/head
Shahan Nedadahandeh 2023-01-04 00:35:23 -05:00
parent eb74c8e4a9
commit 95ab1383ca
1 changed files with 3 additions and 3 deletions

View File

@ -72,9 +72,9 @@ steps:
- 'echo "$SSH_KEY" > /tmp/ssh_key'
- chmod 600 /tmp/ssh_key
- ssh -4 -i /tmp/ssh_key www@caffeine.csclub.uwaterloo.ca -o StrictHostKeyChecking=no '~/bin/classprofile/deploy-2022.sh'
# when:
# branch:
# - main
when:
branch:
- main
trigger:
event: