mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 08:37:56 +02:00
fix: Pass in secret via env config
This commit is contained in:
@@ -115,8 +115,10 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
- name: Insert secrets
|
- name: Insert secrets
|
||||||
if: steps.check.outputs.should_deploy == 'true'
|
if: steps.check.outputs.should_deploy == 'true'
|
||||||
|
env:
|
||||||
|
WAHLRECHT_MONGODB_CONNECTION_STRING: ${{ secrets.WAHLRECHT_MONGODB_CONNECTION_STRING }}
|
||||||
run: |
|
run: |
|
||||||
sed -i "s|<wahlrecht_mongodb_connection_string>|${{ secrets.WAHLRECHT_MONGODB_CONNECTION_STRING }}|g" docker/${{ matrix.env }}/stack-config/wahlrecht.yaml
|
sed -i "s|<wahlrecht_mongodb_connection_string>|$WAHLRECHT_MONGODB_CONNECTION_STRING|g" docker/${{ matrix.env }}/stack-config/wahlrecht.yaml
|
||||||
- name: Copy files to remote
|
- name: Copy files to remote
|
||||||
if: steps.check.outputs.should_deploy == 'true'
|
if: steps.check.outputs.should_deploy == 'true'
|
||||||
uses: burnett01/rsync-deployments@7.0.2
|
uses: burnett01/rsync-deployments@7.0.2
|
||||||
|
|||||||
Reference in New Issue
Block a user