README adjusted with new publishing process
This commit is contained in:
@@ -22,14 +22,13 @@ hugo server
|
|||||||
|
|
||||||
## Deployment
|
## Deployment
|
||||||
|
|
||||||
Thanks to the [MEDLab Hugo template](https://git.medlab.host/dhorn/medlab-hugo-template), the site is set up to deploy automatically to the MEDLab server via GitLab CI. To do so, when developing locally, use these git commands:
|
Thanks to the [MEDLab Hugo template](https://git.medlab.host/dhorn/medlab-hugo-template), the site is set up to deploy automatically to the MEDLab server via GitLab CI. To do so, when developing locally, use this git command:
|
||||||
|
|
||||||
```
|
```
|
||||||
git push origin
|
git push origin main
|
||||||
git push origin main:publish
|
|
||||||
```
|
```
|
||||||
|
|
||||||
A push to `publish` should trigger a pipeline in GitLab to deploy the site. If it doesn't, check for errors in Gitea and GitLab.
|
A push to `main` should trigger a pipeline in GitLab to deploy the site. If it doesn't, check for errors in Gitea and GitLab.
|
||||||
|
|
||||||
## Interviews
|
## Interviews
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user