Skip to content
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

Fix CI deployment config #4

Merged
merged 2 commits into from
Dec 8, 2016
Merged
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
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# idjs.github.io

Website repository of id.js.org

[![CircleCI](https://circleci.com/gh/idjs/idjs.github.io/tree/development.svg?style=svg)](https://circleci.com/gh/idjs/idjs.github.io/tree/development)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Biar tau build process-nya berhasil atau gagal

3 changes: 3 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,6 @@ deploy:
type: git
repo: https://github.com/idjs/idjs.github.io
branch: master
name: idjs
email: [email protected]
message: 'Site updated: {{ now(\'YYYY-MM-DD HH:mm:ss\') }} [ci skip]'
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[ci skip] biar si CircleCI gak nge-build master toh nanti isinya cuma hasil build https://circleci.com/docs/skip-a-build/

5 changes: 1 addition & 4 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,4 @@ deployment:
pages:
branch: development
commands:
- hexo deploy
dependencies:
post:
- npm install -g hexo
- npm run deploy
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"version": "3.2"
},
"scripts": {
"test": "echo \"Ok: no test for now\" && exit 0"
"test": "echo \"Ok: no test for now\" && exit 0",
"deploy": "hexo deploy"
},
"dependencies": {
"hexo": "^3.2",
Expand Down