-
Notifications
You must be signed in to change notification settings - Fork 0
/
push.sh
21 lines (17 loc) · 965 Bytes
/
push.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# nginx docker-compose.yml file
# echo 'echo rsync nginx/docker-compose.yml'
# rsync -r --delete-after --quiet ./nginx/docker-compose.yml [email protected]:/docker/letsencrypt-docker-nginx/src/production/docker-compose.yml
# This wasn't commented out before, but ./nginx/docker-compose.yml also doesn't exist? Wierd (17-04-2020)
# # nginx.conf file
# echo 'echo rsync nginx/nginx-prod.conf'
# rsync -r --delete-after --quiet ./nginx/nginx-prod.conf [email protected]:/docker/letsencrypt-docker-nginx/src/production/nginx.conf
# # # nginx-test.conf file
# echo 'echo rsync nginx/nginx-test.conf'
# rsync -r --delete-after --quiet ./nginx/nginx-test.conf [email protected]:/docker/letsencrypt-docker-nginx/src/production/nginx.conf
# .env file
echo 'echo rsync nginx/.env'
rsync -r --delete-after --quiet ./nginx/.env [email protected]:/docker/letsencrypt-docker-nginx/src/production/.env
git add -u
git reset -- config/dev.exs
git commit -m "$1"
git push