Fix headers
All checks were successful
the build was successful

This commit is contained in:
Valentin Brandl 2018-10-14 18:46:47 +02:00
parent 85f7238c5d
commit 7a62aaccda
No known key found for this signature in database
GPG Key ID: 30D341DD34118D7D

View File

@ -21,7 +21,7 @@ on another machine. I decided, a better setup was needed.
<!-- more -->
## Goal
# Goal
The goal of the new pipeline should be to automatically build and
deploy the blog when commit is made to the repository:
@ -32,7 +32,7 @@ deploy the blog when commit is made to the repository:
+-------------------+ +------------+ +------------------+
```
## Setup
# Setup
A few weeks ago, I setup [DroneCI][2] aside my [Gitea][3] instance.
There is a [great plugin for DroneCI][4] to build Hugo websites.
@ -74,9 +74,9 @@ deploy the blog to other targets. There are plugins to deploy to [AWS
S3][11], use [FTP(S)][12] for uploading and many others. Only the
`deploy` step in the pipeline needs to be replaced.
## Improving the Pipeline
# Improving the Pipeline
### Ahead-of-Time Compression
## Ahead-of-Time Compression
To take the load of compressing requested files from my web server, I
use the [`gzip_static` module][7] of nginx. The compression is done
@ -136,7 +136,7 @@ pipeline:
secrets: [ rsync_key ]
```
### Multiple Environments
## Multiple Environments
At this point I thought it would be fun to implement a staging area
for the blog to test unreleased drafts and get feedback on them,