add de_DE locale
This commit is contained in:
parent
a9bd7f6e7b
commit
1e22073f88
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
|
@ -34,6 +34,11 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
environment: staging
|
||||
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
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
|
@ -57,13 +62,13 @@ jobs:
|
|||
- name: Copy calendar to output dir
|
||||
run: cp static/all.ics public/all.ics
|
||||
- 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
|
||||
name: Upload pages
|
||||
with:
|
||||
name: enhanced_pages
|
||||
path: public
|
||||
|
||||
|
||||
staging:
|
||||
needs: [ calendar ]
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Reference in a new issue