Skip to content

How can I deploy master to a live website? #6849

Answered by unknwon
NotLazy asked this question in Q&A
Discussion options

You must be logged in to vote

You can't directly archive this via Gogs today, the recommended way is to set up webhooks and send to something you own and executing deploy scripts/commands. It is also possible to use Git hook if you're site admin (in Repository > Settings > Git Hooks > post-receive):

But it is known to be hard to debug with.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by NotLazy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants