From 1e22073f880e473093683d5ee8eb0693c5131141 Mon Sep 17 00:00:00 2001 From: "Ricardo (XenGi) Band" Date: Tue, 13 Jun 2023 23:00:49 +0200 Subject: [PATCH] add de_DE locale --- .github/workflows/release.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4254923..92e9bb5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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