summaryrefslogtreecommitdiff
path: root/run.sh
blob: b37d5d74fe0fc9a745483d59143c910a355f6c27 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

site="${1}"

# for mac/homebrew
virtualenv venv || pyenv virtualenv -p python3.9 venv
. venv/bin/activate
venv/bin/pip install --upgrade -r requirements.txt
jenkins-jobs --conf "${site}.ini" update --delete-old "yaml/${site}"
exit 0