mirror of
https://github.com/FranP-code/public-apis.git
synced 2025-10-13 00:03:04 +00:00
Move commands to build script and conditionally create /json directory
This commit is contained in:
@@ -8,8 +8,5 @@ script:
|
|||||||
after_script:
|
after_script:
|
||||||
- cd build
|
- cd build
|
||||||
- sh build.sh
|
- sh build.sh
|
||||||
- ls -l ../
|
|
||||||
- ls -l ../json
|
|
||||||
- cat -l ../json/api.json
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|||||||
@@ -1,4 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
mkdir -p ../json
|
||||||
node md2json.js ../README.md > ../json/api.json
|
node md2json.js ../README.md > ../json/api.json
|
||||||
cat ../json/api.json
|
cat ../json/api.json
|
||||||
|
ls -l ..
|
||||||
|
ls -l ../json
|
||||||
|
|||||||
Reference in New Issue
Block a user