Point deploy code back to production with pralor

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
This commit is contained in:
Mcat12
2018-06-08 23:26:23 -04:00
parent 96fe418993
commit fff1eada25
+5 -5
View File
@@ -36,20 +36,20 @@ deploy:
- echo "web.pi-hole.io" > build/CNAME
# Deploy to GitHub Pages
- git clone --depth 1 -b fake-deploy https://Mcat12:$GITHUB_ACCESS_TOKEN@github.com/pi-hole/web.git deploy
- git clone --depth 1 -b gh-pages https://pralor:$GITHUB_ACCESS_TOKEN@github.com/pi-hole/web.git deploy
- shopt -s extglob # Enable extra globs, like !()
- rm -rf deploy/!(.|..|.git)
- cp -r build/* deploy/
- cd deploy
- git config user.email "4417660+Mcat12@users.noreply.github.com"
- git config user.name "Mcat12"
- git config user.email "36384445+pralor@users.noreply.github.com"
- git config user.name "pralor"
- git add -A
- git commit -m "(Fake) Deploy pi-hole/web to web.pi-hole.io"
- git commit -m "Deploy pi-hole/web to web.pi-hole.io"
- git push
cache:
key: deploy
paths:
- node_modules/
only:
- gitlab-ci-deploy-test
- master
when: manual