-
Notifications
You must be signed in to change notification settings - Fork 1
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
Conversation
Website repository of id.js.org | ||
|
||
[](https://circleci.com/gh/idjs/idjs.github.io/tree/development) |
There was a problem hiding this comment.
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
@@ -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]' |
There was a problem hiding this comment.
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/
dependencies: | ||
post: | ||
- npm install -g hexo | ||
- ./node_modules/.bin/hexo deploy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gak perlu install hexo global, di package.json
udah ada local hexo, tinggal pake
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ini bisa dirapikan harusnya dengan npm script
, di package.json buat script misal deploy
isi command-nya hexo deploy
, run nya npm run deploy
. Script di package.json
alias npm script
aware dengan local installation package.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tambahan (buat mimin), |
@anggiaj latest changes mau di |
@hellowin kita gak bisa pake |
@anggiaj iya ternyata, ini gara2 config |
Masalahnya:
Benerinnya:
master
branch. Note: tidak disertakan di PR ini 😉 , butuh akses admin - https://circleci.com/docs/adding-read-write-deployment-key/.