Typography

活版印字


  • Home
  • Archive
  • Categories
  • Tags
  •  

© 2020 alincode

Theme Typography by Makito

Proudly published with Hexo

Buddy CI 踩雷心得

Posted at 2016-04-09 Buddy CI  Buddy CI 

script 內的指令,一定要指定指令路徑。

錯

1
grunt build

對

1
node_modules/.bin/grunt build

免輸入github帳密

因為是透過 Buddy robot 去執行 script,所以當 script 有用到 git pull 指令,就一定得設 github 的免密碼 ssh。

Github - Generating an SSH key

小提醒

設定完,別忘了改 .git/config 裡的 url,要變成 ssh 格式的,例如 git@github.com:yourname/xxxxx.git

設定 node 的 path

run npm command gives error “/usr/bin/env: node: No such file or directory

解法

ln -s /usr/bin/nodejs /usr/bin/node

Share 

 Previous post: Buddy CI 與 Slack 整合 Next post: Buddy CI Pipelines 流程 

© 2020 alincode

Theme Typography by Makito

Proudly published with Hexo