Setelah tambah post baru “docker cron”, saya push kok ga langsung update web nya. Takutnya saya salah, coba lagi push baru cuma dengan hapus spasi. hehehehe. Tapi tetep ga ke push
Pantes Ga Update Post nya
Di cek error failed, ternyata ga ada git terinstall di image nya
Git Not Found
Padahal selama pake image registry.gitlab.com/pages/hugo:latest
ga pernah ada masalah, apa mungkin update image terbaru ga ada git nya. Solusinya mudah, cukup tambahkan installasi git di file .gitlab-ci.yml
variables:
GIT_SUBMODULE_STRATEGY: recursive
pages:
before_script:
- apk add --update --no-cache git
script:
- hugo
artifacts:
paths:
- public
only:
- master