Merge branch 'staging' into 'production'
Merge staging See merge request cccb/www!10
This commit is contained in:
commit
0f52d2c435
|
@ -20,6 +20,7 @@ build_pages:
|
||||||
expire_in: "1 week"
|
expire_in: "1 week"
|
||||||
untracked: true
|
untracked: true
|
||||||
script:
|
script:
|
||||||
|
- rm -rf public/*
|
||||||
- apk add --no-cache --upgrade hugo
|
- apk add --no-cache --upgrade hugo
|
||||||
- hugo $(cat .hugo-params)
|
- hugo $(cat .hugo-params)
|
||||||
|
|
||||||
|
@ -38,7 +39,7 @@ build_calendar:
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
- python tools/merge_cals.py
|
- python tools/merge_cals.py
|
||||||
- cp static/all.ics public/all.ics
|
- cp static/all.ics public/all.ics
|
||||||
- upcoming="$(python tools/gen_upcoming.py static/all.ics 14 5|tr '\n' ' ')" && sed -i "s#CALENDAR#$upcoming#g" public/index.html
|
- upcoming="$(python tools/gen_upcoming.py static/all.ics 20 5|tr '\n' ' ')" && sed -i "s#CALENDAR#$upcoming#g" public/index.html
|
||||||
|
|
||||||
deploy_staging:
|
deploy_staging:
|
||||||
image: "alpine:3.8"
|
image: "alpine:3.8"
|
||||||
|
@ -53,7 +54,7 @@ deploy_staging:
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
||||||
- echo "$PRIVATE_KEY" | ssh-add -
|
- echo "$PRIVATE_KEY" | ssh-add -
|
||||||
- rsync -e "ssh -l deploy -p 31337" -av public/ 195.54.164.87:staging
|
- rsync -e "ssh -l deploy -p 31337" -av --delete public/ 195.54.164.87:staging
|
||||||
when: on_success
|
when: on_success
|
||||||
environment:
|
environment:
|
||||||
name: staging
|
name: staging
|
||||||
|
@ -78,7 +79,7 @@ deploy_production:
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
||||||
- echo "$PRIVATE_KEY" | ssh-add -
|
- echo "$PRIVATE_KEY" | ssh-add -
|
||||||
- rsync -e "ssh -l deploy -p 31337" -av public/ 195.54.164.87:production
|
- rsync -e "ssh -l deploy -p 31337" -av --delete public/ 195.54.164.87:production
|
||||||
when: on_success
|
when: on_success
|
||||||
environment:
|
environment:
|
||||||
name: production
|
name: production
|
||||||
|
|
2
build.sh
2
build.sh
|
@ -2,6 +2,6 @@
|
||||||
|
|
||||||
hugo $(cat .hugo-params)
|
hugo $(cat .hugo-params)
|
||||||
tools/merge_cals.py
|
tools/merge_cals.py
|
||||||
upcoming="$(tools/gen_upcoming.py static/all.ics 14 5|tr '\n' ' ')"
|
upcoming="$(tools/gen_upcoming.py static/all.ics 20 5|tr '\n' ' ')"
|
||||||
cp static/all.ics public/all.ics
|
cp static/all.ics public/all.ics
|
||||||
sed -i "s#CALENDAR#$upcoming#g" public/index.html
|
sed -i "s#CALENDAR#$upcoming#g" public/index.html
|
||||||
|
|
|
@ -1,6 +1,14 @@
|
||||||
---
|
---
|
||||||
description: "Startseite CCCB mit Kurzkalender"
|
description: "Startseite CCCB mit Kurzkalender"
|
||||||
---
|
---
|
||||||
|
### CCCB Maintenance Days
|
||||||
|
|
||||||
|
Während des Chaos Communication Camps nutzen wir die Gelegenheit, um die
|
||||||
|
Clubräume auf Vordermann zu bringen. Deshalb fallen die offenen Tage des Club
|
||||||
|
Discordia vom 15. bis einschließlich 27. August aus. Ab dem 29. geht es
|
||||||
|
regulär weiter. Viel Spaß am Gerät und danke für die Beachtung aller
|
||||||
|
Sicherheitsmaßnahmen!
|
||||||
|
|
||||||
### Nächste Veranstaltungen:
|
### Nächste Veranstaltungen:
|
||||||
|
|
||||||
CALENDAR
|
CALENDAR
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
title: "Beitragsordnung"
|
title: "Beitragsordnung"
|
||||||
subtitle: "Chaos Computer Club Berlin / CCC(B) e.V."
|
subtitle: "Chaos Computer Club Berlin / CCC(B) e.V."
|
||||||
date: 2019-05-14T10:00:00+02:00
|
date: 2019-05-14T10:00:00+02:00
|
||||||
menu:
|
|
||||||
main:
|
|
||||||
parent: "verein"
|
|
||||||
---
|
---
|
||||||
|
|
||||||
_Stand: 17. März 2009_
|
_Stand: 17. März 2009_
|
||||||
|
|
|
@ -4,6 +4,11 @@ subtitle: "Die offenen Abende im CCCB"
|
||||||
date: 2018-05-17T22:59:56+02:00
|
date: 2018-05-17T22:59:56+02:00
|
||||||
dtstart: 20180703T190000
|
dtstart: 20180703T190000
|
||||||
dtend: 20180704T000000
|
dtend: 20180704T000000
|
||||||
|
rrule_excludes:
|
||||||
|
- 20190815T190000
|
||||||
|
- 20190820T190000
|
||||||
|
- 20190822T190000
|
||||||
|
- 20190827T190000
|
||||||
rrule: "FREQ=WEEKLY;BYDAY=TU,TH;INTERVAL=1"
|
rrule: "FREQ=WEEKLY;BYDAY=TU,TH;INTERVAL=1"
|
||||||
menu:
|
menu:
|
||||||
main:
|
main:
|
||||||
|
|
|
@ -7,7 +7,7 @@ berlin.ccc.de ist eine Publikation des Chaos Computer Clubs Berlin e.V.
|
||||||
|
|
||||||
Inhalte der einzelnen Postings ist den jeweiligen Autoren zuzuschreiben. Links, die auf andere Server verweisen, dürfen in keinem Fall angeklickt werden. Bei Zuwiderhandlungen übernehmen wir keine Haftung. Copyright ist Aberglaube.
|
Inhalte der einzelnen Postings ist den jeweiligen Autoren zuzuschreiben. Links, die auf andere Server verweisen, dürfen in keinem Fall angeklickt werden. Bei Zuwiderhandlungen übernehmen wir keine Haftung. Copyright ist Aberglaube.
|
||||||
|
|
||||||
## Addresse
|
## Adresse
|
||||||
|
|
||||||
```
|
```
|
||||||
Chaos Computer Club Berlin / CCC (B) e.V.
|
Chaos Computer Club Berlin / CCC (B) e.V.
|
||||||
|
|
|
@ -31,7 +31,7 @@ DTEND;TZID=Europe/Berlin:{{.Params.dtend}}
|
||||||
RRULE:{{.Params.rrule}}
|
RRULE:{{.Params.rrule}}
|
||||||
{{if isset .Params "rrule_excludes" }}
|
{{if isset .Params "rrule_excludes" }}
|
||||||
{{range .Params.rrule_excludes }}
|
{{range .Params.rrule_excludes }}
|
||||||
EXDATE;TZID=Europe/Berlin:{{dateFormat "20060102T150405" . }}
|
EXDATE;TZID=Europe/Berlin:{{.}}
|
||||||
{{end -}}
|
{{end -}}
|
||||||
{{end -}}
|
{{end -}}
|
||||||
LOCATION:{{with .Params.location}}{{.}}{{else}}CCCB{{end}}
|
LOCATION:{{with .Params.location}}{{.}}{{else}}CCCB{{end}}
|
||||||
|
|
Loading…
Reference in a new issue