]> git.immae.eu Git - github/fretlink/ansible-clever.git/blob - files/clever-set-domain.sh
fix(deploy): Make sure to execute clever commands in app_root dir
[github/fretlink/ansible-clever.git] / files / clever-set-domain.sh
1 #!/usr/bin/env bash
2
3 set -e
4
5 function checkDomain {
6 clever domain | grep "${DOMAIN}"
7 }
8
9 function setDomain {
10 clever domain add "${DOMAIN}"
11 }
12
13 checkDomain || setDomain