File tree Expand file tree Collapse file tree 2 files changed +17
-8
lines changed Expand file tree Collapse file tree 2 files changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,9 @@ before_install:
12
12
script :
13
13
- " exe/miq build all"
14
14
deploy :
15
- provider : pages:git
16
- edge : true
17
- token : ${GITHUB_TOKEN}
18
- fqdn : www.manageiq.org
19
- local_dir : dest
20
- target_branch : master
21
- commit_message : ${TRAVIS_COMMIT_MESSAGE}
22
- verbose : true
15
+ provider : script
16
+ skip_cleanup : true
17
+ script : deploy.sh
23
18
on :
24
19
branch : build
25
20
notifications :
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ cd dest
4
+
5
+ echo " www.manageiq.org" > CNAME
6
+
7
+ git config --global user.name " ManageIQ Bot"
8
+ git config --global user.email
" [email protected] "
9
+
10
+ git clone --bare --branch master --depth 5 https://miq-bot:${GITHUB_TOKEN} @github.com/ManageIQ/manageiq.github.io .git
11
+ git config core.bare false
12
+ git add -A
13
+ git commit -m " ${TRAVIS_COMMIT_MESSAGE} "
14
+ git push origin master
You can’t perform that action at this time.
0 commit comments