mirror of
https://github.com/public-apis/public-apis.git
synced 2024-07-07 13:32:22 +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:
|
||||
- cd build
|
||||
- sh build.sh
|
||||
- ls -l ../
|
||||
- ls -l ../json
|
||||
- cat -l ../json/api.json
|
||||
notifications:
|
||||
email: false
|
||||
|
@ -1,4 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
mkdir -p ../json
|
||||
node md2json.js ../README.md > ../json/api.json
|
||||
cat ../json/api.json
|
||||
ls -l ..
|
||||
ls -l ../json
|
||||
|
Loading…
Reference in New Issue
Block a user