diff options
author | claw0ry <me@claw0ry.net> | 2024-12-11 13:56:52 +0100 |
---|---|---|
committer | claw0ry <me@claw0ry.net> | 2024-12-11 13:56:52 +0100 |
commit | 4719cc03837490ed4bf1b9725d75a686e56e5a6a (patch) | |
tree | 769dd3a3a87153df049b3043196bd131495b10ad /content/posts/deploy-hugo-on-git-push.md |
fresh start
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 |