Skip to content

Update: scenario/000019eb (by DontBeABoneHead) #940

Update: scenario/000019eb (by DontBeABoneHead)

Update: scenario/000019eb (by DontBeABoneHead) #940

Workflow file for this run

name: Reload databases
on:
push:
branches:
- main
jobs:
reload_api:
name: Reload API database
# No need to reload on a commit made by the API.
if: ${{ github.actor != 'bananas-backend[bot]' }}
uses: OpenTTD/actions/.github/workflows/rw-nomad-reload.yml@v4
secrets:
RELOAD_SECRET: ${{ secrets.API_RELOAD_SECRET }}
NOMAD_SERVICE_KEY: ${{ secrets.API_NOMAD_SERVICE_PROD_KEY }}
with:
service: bananas-api-prod
reload_server:
name: Reload server database
uses: OpenTTD/actions/.github/workflows/rw-nomad-reload.yml@v4
secrets:
RELOAD_SECRET: ${{ secrets.SERVER_RELOAD_SECRET }}
NOMAD_SERVICE_KEY: ${{ secrets.SERVER_NOMAD_SERVICE_PROD_KEY }}
with:
service: bananas-server-prod