~evanj/evanjon.es

7486ad19edfb63ffcd4b211fcec6f012f41be9e9 — Evan M Jones 1 year, 4 months ago f3f315a
Fix(.build.yml): Fix build script for cms.evanjon.es -> evanjon.es.
1 files changed, 0 insertions(+), 2 deletions(-)

M .build.yml
M .build.yml => .build.yml +0 -2
@@ 16,13 16,11 @@ tasks:
        echo "deploying to production"
        ssh -o 'StrictHostKeyChecking=no' evan@140.82.14.80 'bash -c "rm ~/evanjon.es/evanjon.es 2>/dev/null"'
        scp -o 'StrictHostKeyChecking=no' evanjon.es evan@140.82.14.80:~/evanjon.es
        scp -r -o 'StrictHostKeyChecking=no' static evan@140.82.14.80:~/evanjon.es
        ssh -o 'StrictHostKeyChecking=no' evan@140.82.14.80 'bash -c "sudo systemctl restart evanjon.es"'
      elif [ `git branch | head -n 1 | awk '{print$5}' | sed 's/)//g' | xargs -I X bash -c "git log --pretty=oneline origin/tip | head -n 1 | grep X" | wc -l` == "1" ]; then
        echo "deploying to tip"
        ssh -o 'StrictHostKeyChecking=no' evan@140.82.14.80 'bash -c "rm ~/evanjon.es.tip/evanjon.es 2>/dev/null"'
        scp -o 'StrictHostKeyChecking=no' evanjon.es evan@140.82.14.80:~/evanjon.es.tip
        scp -r -o 'StrictHostKeyChecking=no' static evan@140.82.14.80:~/evanjon.es.tip
        ssh -o 'StrictHostKeyChecking=no' evan@140.82.14.80 'bash -c "sudo systemctl restart evanjon.es.tip"'
      else 
        echo "not deploying"