Update workflows
This commit is contained in:
parent
d1a70faf09
commit
78e4fef3aa
|
@ -18,12 +18,13 @@ jobs:
|
||||||
|
|
||||||
json_dict = {}
|
json_dict = {}
|
||||||
with open('public/config.json', 'r') as file:
|
with open('public/config.json', 'r') as file:
|
||||||
json_dict = load(file)
|
json_dict = load(file)
|
||||||
|
|
||||||
json_dict["location"] = "desktop"
|
json_dict["location"] = "desktop"
|
||||||
|
|
||||||
with open('public/config.json', 'w+') as out:
|
with open('public/config.json', 'w+') as out:
|
||||||
dump(json_dict, out)
|
dump(json_dict, out)
|
||||||
|
shell: python
|
||||||
- name: Install dependencies and build
|
- name: Install dependencies and build
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
|
|
|
@ -47,12 +47,13 @@ jobs:
|
||||||
|
|
||||||
json_dict = {}
|
json_dict = {}
|
||||||
with open('public/config.json', 'r') as file:
|
with open('public/config.json', 'r') as file:
|
||||||
json_dict = load(file)
|
json_dict = load(file)
|
||||||
|
|
||||||
json_dict["location"] = "desktop"
|
json_dict["location"] = "desktop"
|
||||||
|
|
||||||
with open('public/config.json', 'w+') as out:
|
with open('public/config.json', 'w+') as out:
|
||||||
dump(json_dict, out)
|
dump(json_dict, out)
|
||||||
|
shell: python
|
||||||
- name: Install dependencies and build
|
- name: Install dependencies and build
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
|
|
|
@ -18,12 +18,12 @@ jobs:
|
||||||
|
|
||||||
json_dict = {}
|
json_dict = {}
|
||||||
with open('public/config.json', 'r') as file:
|
with open('public/config.json', 'r') as file:
|
||||||
json_dict = load(file)
|
json_dict = load(file)
|
||||||
|
|
||||||
json_dict["location"] = "desktop"
|
json_dict["location"] = "desktop"
|
||||||
|
|
||||||
with open('public/config.json', 'w+') as out:
|
with open('public/config.json', 'w+') as out:
|
||||||
dump(json_dict, out)
|
dump(json_dict, out)
|
||||||
shell: python
|
shell: python
|
||||||
- name: Install dependencies and build
|
- name: Install dependencies and build
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue