Run auto-format

This commit is contained in:
decentral1se 2021-06-15 12:44:10 +02:00
parent cbb3de7154
commit d40fc454b5
No known key found for this signature in database
GPG Key ID: 92DAD76BD9567B8A

View File

@ -50,10 +50,10 @@ Then the site is available at the following URL:
## Working with the site ## Working with the site
* Website articles and content are in [content](./content) - Website articles and content are in [content](./content)
* The website theme is in [themes/homebrewtheme](./themes/homebrewtheme) - The website theme is in [themes/homebrewtheme](./themes/homebrewtheme)
* Images are stored in [content/images](./content/images) - Images are stored in [content/images](./content/images)
* Configs are stored in [content/downloads](./content/downloads) - Configs are stored in [content/downloads](./content/downloads)
While working on the site, you can run the following: While working on the site, you can run the following:
@ -77,7 +77,7 @@ $ git push origin master
Details for maintaining the hook on the Varia server are: Details for maintaining the hook on the Varia server are:
* We have cloned the site in `/srv/gitea/clones/homebrewserver.club` - We have cloned the site in `/srv/gitea/clones/homebrewserver.club`
* We have create a hook deployment script in `/srv/gitea/gitea-repositories/varia/homebrewserver.club.git/hooks/post-update` - We have create a hook deployment script in `/srv/gitea/gitea-repositories/varia/homebrewserver.club.git/hooks/post-update`
How it works: when someone runs a `git push origin master`, the script in the `post-update` will run after the updating is finished. In this script, we run all the steps to publish the site as per usual. Such as running `pip install -r requirements.txt` and `pelican` to generate the new output. How it works: when someone runs a `git push origin master`, the script in the `post-update` will run after the updating is finished. In this script, we run all the steps to publish the site as per usual. Such as running `pip install -r requirements.txt` and `pelican` to generate the new output.