add de_DE locale

This commit is contained in:
XenGi 2023-06-13 23:00:49 +02:00
parent a9bd7f6e7b
commit 1e22073f88
Signed by: xengi
SSH key fingerprint: SHA256:EvLbWxFCtfmd+8Xa6RkzkhIga+wFkKCekfFacYVn63M

View file

@ -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,13 +62,13 @@ 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:
name: enhanced_pages name: enhanced_pages
path: public path: public
staging: staging:
needs: [ calendar ] needs: [ calendar ]
runs-on: ubuntu-latest runs-on: ubuntu-latest