mirror of
https://github.com/array-in-a-matrix/public-apis.git
synced 2025-04-02 11:11:50 -04:00
Move commands to build script and conditionally create /json directory
This commit is contained in:
parent
a3169fd177
commit
f3e1fe1b30
2 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue