1

I would like to migrate from bitbucket to github. I use bitbucket pipeline to manually send code in production with git push ssh://user@site:path master with is my bitbucket pipeline

clone:
  depth: full
pipelines:
  custom:
    deployment-to-prod:
     - step:
         deployment: production
         script:
           - git push ssh://user@site:path master

I would like to do the same think with github action but I don't know how to do it can you help me please ? Does someone has already did it ?

Thanls

lokhi
  • 177
  • 1
  • 10
  • Sorry, yes, I misunderstood what you wanted to do. I will delete my answer for now and repost an answer if I find anything that might help you. – peterevans Oct 09 '19 at 08:10
  • `git push` to a ssh configured remote will likely work fine. You may just need to set the user and email with `git config` first. Have you tried it yourself yet? – peterevans Oct 10 '19 at 05:20
  • Maybe this action can help https://github.com/ad-m/github-push-action – Ramon Medeiros Jan 09 '20 at 14:06

0 Answers0