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