mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 08:37:56 +02:00
fix: Add environment variable for wahlrecht
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -5,6 +5,8 @@ services:
|
||||
- internal_net
|
||||
deploy:
|
||||
replicas: 1
|
||||
environment:
|
||||
MONGODB_CONNECTION_STRING: <wahlrecht_mongodb_connection_string>
|
||||
|
||||
networks:
|
||||
internal_net:
|
||||
|
||||
Reference in New Issue
Block a user