Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Regenerate production tiles #426

Regenerate production tiles

Regenerate production tiles #426

name: Regenerate production tiles
on:
workflow_dispatch:
schedule:
- cron: '0 2 * * *'
jobs:
trigger_generation:
environment:
name: production
url: https://tiles.radverkehrsatlas.de
runs-on: ubuntu-latest
steps:
- name: Restart tile generation
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
password: ${{ secrets.SSH_PASSWORD }}
script: |
echo "Restart app container"
cd /srv/processing/
echo "WAIT_FOR_FRESH_DATA=1" >> .env
docker compose down processing
docker compose up -d processing