First attempt at a netlify deploy preview

This commit is contained in:
dannyrb committed 2019-07-16 09:24:24 -04:00
1 parent 91ee615aee
commit 2279e555a3
10 files changed
+212 -127

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
# Set directory to location of this script
# https://stackoverflow.com/a/3355423/1867984
cd "$(dirname "$0")"
echo 'PUBLISHING'
./node_modules/.bin/gh-pages \
--silent \
--repo https://$GITHUB_TOKEN@github.com/OHIF/Viewers.git \
--message 'Autogenerated Message: [ci skip]' \
--dist docs/latest/_book