How do I push to a repo from within a gitlab CI pipeline?

后端 未结 5 1615
伪装坚强ぢ
伪装坚强ぢ 2020-12-17 10:31

In my CI pipeline I am generating an artifact public/graph.png that visualises some aspect of my code. In a later step I want to commit that to the repo from wi

5条回答
  •  醉酒成梦
    2020-12-17 11:17

    In my case deploy keys option was optimal (compared to personal tokens or CI token - only supports basic auth) with Gitlab Shell Runner. In case someone is struggling with pushing to from Gitlab CI, this can be done sharing the public key of the runner with the Gitlab server

提交回复
热议问题