File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 5151 - name : combine to full connection string
5252 run : |
5353 echo "connectionString = $(echo "${envIpAddress}:${envIpPort}?network=external" | sed -e 's/[]$.*[\^]/\\&/g' )" | xargs >> $GITHUB_ENV
54- - name : replace connection string
55- uses : jacobtomlinson/gha-find-replace@master
56- with :
57- find : " localhost"
58- replace : ${{ env.connectionString }}
59- include : src/main/java/org/couchbase/quickstart/configs/ConfigDb.java
6054 - name : fix connection string
6155 run : |
6256 chmod 755 deployment/fix.sh
Original file line number Diff line number Diff line change 11#! /bin/bash
22
33chmod 666 src/main/java/org/couchbase/quickstart/configs/ConfigDb.java
4- sed -i " s|localhost|$1 |" src/main/java/org/couchbase/quickstart/configs/ConfigDb.java
4+ sed -i -e " s|localhost|$1 |" src/main/java/org/couchbase/quickstart/configs/ConfigDb.java
55
66chmod 666 src/main/resources/application.properties
7- sed -i " s|localhost|$1 |" src/main/resources/application.properties
7+ sed -i -e " s|localhost|$1 |" src/main/resources/application.properties
88
99cat src/main/java/org/couchbase/quickstart/configs/ConfigDb.java
1010
You can’t perform that action at this time.
0 commit comments