Try shelling out to use our GITHUB_TOKEN env variable
This commit is contained in:
1 parent
1c0b064d9b
commit
c0d6e4cee9
3 files changed
+14
-1
No files matched your search
@@ -0,0 +1,12 @@
|
||||
#!/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 \
|
||||
--dist docs/latest/_book
|
||||
Reference in new issue
Block a user