add de_DE locale
This commit is contained in:
parent
a9bd7f6e7b
commit
1e22073f88
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
|
@ -34,6 +34,11 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: staging
|
environment: staging
|
||||||
steps:
|
steps:
|
||||||
|
- name: Add de_DE.UTF-8 locale
|
||||||
|
run: |
|
||||||
|
apt-get update
|
||||||
|
apt-get -y install locales
|
||||||
|
locale-gen de_DE.UTF-8
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
@ -57,7 +62,7 @@ jobs:
|
||||||
- name: Copy calendar to output dir
|
- name: Copy calendar to output dir
|
||||||
run: cp static/all.ics public/all.ics
|
run: cp static/all.ics public/all.ics
|
||||||
- name: Update homepage with latest event
|
- name: Update homepage with latest event
|
||||||
run: upcoming="$(python tools/gen_upcoming.py static/all.ics 20 5|tr '\n' ' ')" && sed -i "s#CALENDAR#$upcoming#g" public/index.html
|
run: upcoming="$(python tools/gen_upcoming.py static/all.ics 20 5 | tr '\n' ' ')" && sed -i "s#CALENDAR#$upcoming#g" public/index.html
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
name: Upload pages
|
name: Upload pages
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue