Skip to content

Update .travis.yml #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: resource
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,14 @@ after_script:
- mv .deploy_git/.git/ ./public/
- cd ./public
- git init
- git config user.name "FiTeen"
- git config user.email "[email protected]"
- git config user.name "juch"
- git config user.email "[email protected]"
- git add .
- git commit -m "Travis CI Auto Builder at `date +"%Y-%m-%d %H:%M"`"
- git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" master:master
- git push --force --quiet "https://sfbMVKkILF:${CO_TOKEN}@${CO_REF}" master:master
branches:
only:
- resource
env:
global:
- GH_REF: github.com/fiteen/fiteen.github.io.git
- CO_REF: e.coding.net/fiteen/fiteen.coding.me.git
- GH_REF: github.com/ju-ch/insidegit
10 changes: 3 additions & 7 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ timezone: ''

# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: https://blog.fiteen.top
root: /
url: https://ju-ch.github.io/inside
root: /inside
permalink: :year/:title/
permalink_defaults:
pretty_urls:
Expand Down Expand Up @@ -114,9 +114,5 @@ theme: inside
## Docs: https://hexo.io/docs/deployment.html
deploy:
- type: git
repository: [email protected]:fiteen/fiteen.github.io.git
repository: [email protected]:ju-ch/inside.git
branch: master
- type: git
repository: [email protected]:fiteen/fiteen.coding.me.git
branch: master
# - type: baidu_url_submitter