Skip to content

Commit

Permalink
docs: add doc on how to upgrade hugo
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinedelia committed Sep 2, 2024
1 parent bc9e581 commit 4d818bd
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,19 @@ The blog is hosted on AWS using the following services:
On new commits, a GitHub Action job will deploy the new infrastructure via Terraform (if any changes were detected), build the Hugo website and deploy its content to AWS S3 (again, if new changes are detected).

![Automatic deploy static website AWS drawio](https://github.com/antoinedelia/cloud-antoine-delia/assets/7138350/d0878545-22f1-42c8-8b04-aca4a932aaee)

## Upgrade

### Hugo

To upgrade Hugo, edit the `main.yml` file with [hugo's latest release](https://github.com/gohugoio/hugo/releases):
```yml
# Replace this URL with a newer version
- run: sudo wget https://github.com/gohugoio/hugo/releases/download/v0.133.1/hugo_extended_0.133.1_linux-amd64.deb -O hugo.deb
```
Make sure to update the hugo's theme as well:
```sh
git submodule init
git submodule update --remote --merge
```

0 comments on commit 4d818bd

Please sign in to comment.