mirror of
https://github.com/vale981/ablog
synced 2025-03-05 09:11:38 -05:00
Revised travis deploy.
This commit is contained in:
parent
3ece8898cc
commit
3e2371b49a
1 changed files with 11 additions and 6 deletions
17
.travis.yml
17
.travis.yml
|
@ -10,9 +10,14 @@ install:
|
|||
script:
|
||||
- make test
|
||||
deploy:
|
||||
_ git checkout --orphan gh-pages
|
||||
_ rm $(git ls-files)
|
||||
_ git rm --cached $(git ls-files)
|
||||
_ git add .
|
||||
_ git commit
|
||||
_ git push origin gh-pages
|
||||
- git clean -f
|
||||
- git config --global user.name "Ahmet Bakan"
|
||||
- git config --global user.email "lordnapi@gmail.com"
|
||||
- git config --global push.default simple
|
||||
- ablog deploy --push-quietly --github-token=ABLOG_KEY -m="`git log -1 --pretty=%B`"
|
||||
- git checkout --orphan gh-pages
|
||||
- rm $(git ls-files)
|
||||
- git rm --cached $(git ls-files)
|
||||
- git add .
|
||||
- git commit
|
||||
- git push origin gh-pages
|
||||
|
|
Loading…
Add table
Reference in a new issue