Jump to content

Would it be possible to git push directly to heliohost server?


Recommended Posts

Posted (edited)

I don't know if this would be possible, so I'm here to ask.

I know how to use git to push on remote repository in Codeberg, Github, etc. then using git webhook here to fetch files from those git repositories. Also I'm learning on using SFTP file transfer using FileZilla and Rclone to copy files to heliohost.

I am just curious if I could do something different like directly git pushing to heliohost server using ssh?

Thanks!

Edited by b0chard
Posted

No you can't. Plesk's git cannot be the target of a push. The suggested solution for automatic deployment is what you described (hosted repo on github with a webhook).

If there was a way to do this, it would need to be over HTTPS anyway as we don't allow SSH access to the Plesk servers for security reasons.

  • Like 1
Posted
11 hours ago, wolstech said:

No you can't. Plesk's git cannot be the target of a push. The suggested solution for automatic deployment is what you described (hosted repo on github with a webhook).

I would like to stop using code hosting on github. I moved to codeberg, some of my private git repos are on github. unfortunately, codeberg won't allow private repositories based on their TOS, only some exclusions for small files like personal notes, .env files, etc. codeberg is focused only for open-source projects.

so, what im planning now is to store private git repositories only on my local machine. but transferring changes to heliohost using filezilla is hassle because some files are not syncing properly, like you need to transfer each and every file unlike git which is better to transfer files and you'll be assured that files in local and remote are in-sync properly.

however, that would be a problem then. I'd like to use Git but at the same time, I won't like to use online code hostings especially github for private repositories.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...