feat(config): update application.yml for staging and production environments
Build & Test (NowChessSystems) TeamCity build finished

This commit is contained in:
2026-04-30 10:55:20 +02:00
parent 952cf00413
commit 6113432a14
12 changed files with 153 additions and 19 deletions
+11 -2
View File
@@ -12,12 +12,21 @@ jobs:
outputs:
allowed: ${{ steps.check.outputs.allowed }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- id: check
run: |
if [[ "${{ github.event_name }}" == "workflow_dispatch" || "${{ github.actor }}" == "TeamCity" ]]; then
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
echo "allowed=true" >> "$GITHUB_OUTPUT"
else
echo "allowed=false" >> "$GITHUB_OUTPUT"
COMMIT_AUTHOR=$(git log -1 --format='%an')
if [[ "$COMMIT_AUTHOR" == "TeamCity" ]]; then
echo "allowed=true" >> "$GITHUB_OUTPUT"
else
echo "allowed=false" >> "$GITHUB_OUTPUT"
fi
fi
build-and-push: