2022-05-09
travis-ci-npm-failed

最近在 run travis-ci 時,會出現 error,查了之後發現是 node v18 需要較新的 library 所以會出現 error
目前是先修改 .travis.yml 檔,設定為使用 node v.17 的版本來 build,而不是之前用的 stable 版本

  • 出現的 error message
    node: /lib/x86_64-linux-gnu/libm.so.6: versionGLIBC_2.27’ not found (required by node)
    node: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.25' not found (required by node) node: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.28’ not found (required by node)
    The command “npm config set spin false” failed and exited with 1 during .
    `

Reference

Read More

2021-04-13
hexo-and-ci

用 hexo 來寫 blog 已經一段時間囉,寫好文章後,需要自己用 make command 將 blog push 到 public
最近有看到有人搭配 travis-ci 來做到自動部署,覺得還滿讚的,就想說來改改囉

試了後,覺得滿有趣的

測試過程的心得

  • 要注意是否有將 theme folder 中的資料,checkin 到 git 中
  • 我是改用 hexo deploy 的方式,來進行 deploy 的方式

Reference

Read More