diff options
Diffstat (limited to 'content/posts/deploy-hugo-on-git-push.md')
-rw-r--r-- | content/posts/deploy-hugo-on-git-push.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/content/posts/deploy-hugo-on-git-push.md b/content/posts/deploy-hugo-on-git-push.md new file mode 100644 index 0000000..dca0ff7 --- /dev/null +++ b/content/posts/deploy-hugo-on-git-push.md @@ -0,0 +1,13 @@ +--- +title: 'Deploy Hugo on Git Push' +description: '' +date: 2024-10-24T21:56:05+02:00 +tags: ['hugo', 'git'] +draft: true +--- + +1. Create a bare repository on your git server +2. Create a git hook "post-receive" in that bare repository +3. On your local machine add the remote repository +4. Push changes from your local machine to the remote repository +5. Watch how hugo builds and deploys to server |