fix: Add environment variable for wahlrecht

This commit is contained in:
2025-08-02 23:54:30 +02:00
parent 9b9e3400f1
commit ac45bfa565
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -113,6 +113,10 @@ jobs:
echo "should_deploy=false" >> $GITHUB_OUTPUT
fi
shell: bash
- name: Insert secrets
if: steps.check.outputs.should_deploy == 'true'
run: |
sed -i "s|<wahlrecht_mongodb_connection_string>|${{ secrets.WAHLRECHT_MONGODB_CONNECTION_STRING }}|g" docker/${{ matrix.env }}/stack-config/wahlrecht.yaml
- name: Copy files to remote
if: steps.check.outputs.should_deploy == 'true'
uses: burnett01/rsync-deployments@7.0.2
+2
View File
@@ -5,6 +5,8 @@ services:
- internal_net
deploy:
replicas: 1
environment:
MONGODB_CONNECTION_STRING: <wahlrecht_mongodb_connection_string>
networks:
internal_net: