Skip to content

Commit

Permalink
refine dependency chain
Browse files Browse the repository at this point in the history
  • Loading branch information
rush42 committed Aug 16, 2024
1 parent 4d4ef94 commit ab2971b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,20 @@ jobs:
secrets: inherit
restart_services:
uses: ./github/workflows/restart-services.yml
needs: setup_env
with:
ENVIRONMENT: production
secrets: inherit
deploy_processing:
needs: setup_env
needs: restart_services
uses: ./.github/workflows/deploy-processing.yml
with:
ENVIRONMENT: production
TILES_URL: tiles.radverkehrsatlas.de
secrets: inherit
deploy_app:
uses: ./.github/workflows/deploy-app.yml
needs: setup_env
needs: restart_services
with:
ENVIRONMENT: production
NEXT_PUBLIC_APP_ORIGIN: https://radverkehrsatlas.de
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/deploy.staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,20 @@ jobs:
secrets: inherit
restart_services:
uses: ./github/workflows/restart-services.yml
needs: setup_env
with:
ENVIRONMENT: staging
secrets: inherit
deploy_processing:
uses: ./.github/workflows/deploy-processing.yml
needs: setup_env
needs: restart_services
with:
ENVIRONMENT: staging
TILES_URL: staging-tiles.radverkehrsatlas.de
secrets: inherit
deploy-app:
uses: ./.github/workflows/deploy-app.yml
needs: setup_env
needs: restart_services
with:
ENVIRONMENT: staging
NEXT_PUBLIC_APP_ORIGIN: https://staging.radverkehrsatlas.de
Expand Down

0 comments on commit ab2971b

Please sign in to comment.