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:
|
||||
- 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
|
||||
|
||||
Reference in New Issue
Block a user