Skip to content

Update: ai/4e6f7041 (by smurfix) #1238

Update: ai/4e6f7041 (by smurfix)

Update: ai/4e6f7041 (by smurfix) #1238

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