REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 868 B
Close
/opt/alt/alt-nodejs11/root/usr/lib/node_modules/npm/node_modules/ajv/scripts/travis-gh-pages
Text
Base64
#!/usr/bin/bash set -e if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" && $TRAVIS_JOB_NUMBER =~ ".3" ]]; then git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qE '\.md$|^LICENSE$|travis-gh-pages$' && { rm -rf ../gh-pages git clone -b gh-pages --single-branch https://${GITHUB_TOKEN}@github.com/epoberezkin/ajv.git ../gh-pages mkdir -p ../gh-pages/_source cp *.md ../gh-pages/_source cp LICENSE ../gh-pages/_source currentDir=$(pwd) cd ../gh-pages $currentDir/node_modules/.bin/gh-pages-generator # remove logo from README sed -i -E "s/<img[^>]+ajv_logo[^>]+>//" index.md git config user.email "$GIT_USER_EMAIL" git config user.name "$GIT_USER_NAME" git add . git commit -am "updated by travis build #$TRAVIS_BUILD_NUMBER" git push --quiet origin gh-pages > /dev/null 2>&1 } fi
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 6
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
.eslintrc.yml
62 B
lrw-r--r--
2021-10-19 09:47:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
bundle.js
1.75 KB
lrw-r--r--
2021-10-19 09:47:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
compile-dots.js
2.37 KB
lrw-r--r--
2021-10-19 09:47:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
info
311 B
lrwxr-xr-x
2021-10-19 09:47:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
prepare-tests
220 B
lrwxr-xr-x
2021-10-19 09:47:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
travis-gh-pages
868 B
lrwxr-xr-x
2021-10-19 09:47:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).