mirror of
https://github.com/public-apis/public-apis.git
synced 2024-07-15 00:00:24 +02:00
Move commands to build script and conditionally create /json directory
This commit is contained in:
parent
a3169fd177
commit
f3e1fe1b30
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user