Change production deploy to only deploy on main branch (#135)
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
eb74c8e4a9
commit
95ab1383ca
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue