Right, not a bash script
This commit is contained in:
parent
760ac9ddd0
commit
5e89034702
|
@ -14,9 +14,7 @@ jobs:
|
||||||
node-version: 10.x
|
node-version: 10.x
|
||||||
- name: Modify config.json
|
- name: Modify config.json
|
||||||
run: |
|
run: |
|
||||||
replacer=$(cat public/config.json | grep "location")
|
sed -i "s/$(cat public/config.json | grep "location")/\"location\": \"desktop"/g" public/config.json;
|
||||||
echo $replacer
|
|
||||||
sed -i "s/$replacer/\"location\": \"desktop"/g" public/config.json;
|
|
||||||
- name: Install dependencies and build
|
- name: Install dependencies and build
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
|
|
Loading…
Reference in New Issue