Skip to content
Snippets Groups Projects
Unverified Commit e0315648 authored by Michael G's avatar Michael G Committed by GitHub
Browse files

Merge pull request #5 from foss-ag/feature/release_on_tags

parents 28a0f72c edf1dfd5
No related branches found
No related tags found
No related merge requests found
...@@ -15,4 +15,4 @@ deploy: ...@@ -15,4 +15,4 @@ deploy:
provider: script provider: script
script: ./deploy.sh script: ./deploy.sh
on: on:
branch: public tags: true
# Hack'n'Snack # Hack'n'Snack
This repository contains all the stuff from which hackandsnack.de is generated. The website (HTML files) isn't included here, but are autogenerated when pushing onto the 'public' branch. This repository contains all the stuff from which hackandsnack.de is generated. The website (HTML files) isn't included here, but are
autogenerated when pushing a new tag to the repository.
## Preparations ## Preparations
- First of all [install Hugo](https://gohugo.io/overview/installing/) - First of all [install Hugo](https://gohugo.io/overview/installing/)
...@@ -29,14 +30,10 @@ hugo undraft /post/name_of_your_post.md ...@@ -29,14 +30,10 @@ hugo undraft /post/name_of_your_post.md
``` ```
## How to make the changes public ## How to make the changes public
- Once you are satisfied, checkout the public branch and merge the changes: - Once you are satisfied, create a tag with a v + ISO-Date and push it:
> git tag v2019-04-30
> git push --tags
``` - If you do not have permissions, add the post in a new branch as a PR to the project.
git checkout public
git merge master
```
- Then, push your changes directly to the repository if you have permissions.
- If you do not have permissions, add the post as a PR to the project.
- Change back to the master branch once done.
Done! You've added a new post to hackandsnack.de. Conlaturations! Done! You've added a new post to hackandsnack.de. Conlaturations!
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment