blob: dca0ff7f293ccb7760994740eba46b3c42213d99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
|