File tree 1 file changed +14
-1
lines changed
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 34
34
alias zshconfig='vim ~/.zshrc'
35
35
alias ohmyzsh='vim ~/.oh-my-zsh'
36
36
alias home='deactivate; cd ~; clear'
37
- alias sgid-index='>&2 echo "starting sgid index update" && workon gis.utah.gov && >&2 echo "switching to master branch" && git checkout master && >&2 echo "updating from remote" && git up && >&2 echo "running python" && python datatable.py
37
+ alias sgid-index='>&2 echo "starting sgid index update" &&
38
+ cd ~/dev/gis.utah.gov &&
39
+ source .env/bin/activate &&
40
+ >&2 echo "switching to master branch" &&
41
+ git checkout master &&
42
+ >&2 echo "updating from remote" &&
43
+ git up &&
44
+ >&2 echo "running python" &&
45
+ cd /scripts
46
+ python datatable.py
47
+ if git commit -am ":package: update sgid-index"
48
+ then git push
49
+ fi
50
+ >&2 echo "done" && deactivate && cd ~/'
38
51
if git commit -am ":package: update sgid-index"
39
52
then git push
40
53
fi
You can’t perform that action at this time.
0 commit comments