mirror of
https://github.com/gosticks/web.git
synced 2026-12-04 02:01:38 +00:00
Point deploy code back to production with pralor
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
This commit is contained in:
+5
-5
@@ -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
|
||||
Reference in New Issue
Block a user