ci: test gcp demo site build (#805)

* ci: test docs-publish

* Require unit tests for dry run

* ci: Make sure our docs publish is executable

* Try to correct path issue

* Try repo prefix

* Try as yarn command

* Need a workspace to attach to from previous step

* Add before we call our bash script

* See if we can enforce commands being available -- or just install locally?

* Try again

* Try SSH

* Include username in gh https url

* Note regarding failure on PR branches

* Remove docs publish from PR workflow

* chore: ability to specify an alternative html-template at build time

* chore: add command to build demo PWA website output

* chore: remove unused CI code

* Testing GCP capabilities

* syntax

* Naming

* naming
This commit is contained in:
Danny Brown authored and GitHub committed 2019-08-26 22:54:18 -04:00
1 parent 552df4c9a8
commit 196694f5a6
7 files changed
+124 -66

No files matched your search

+1 -16
View File
@@ -12,16 +12,6 @@ yarn global bin
yarn config get prefix
yarn config set prefix ~/.yarn
export PATH="$PATH:`yarn global bin`"
# yarn global add gitbook-cli
# yarn global add gh-pages
# npm i gitbook-cli -g
# npm i gh-pages -g
# yarn list
# export PATH="$(yarn global bin):$PATH"
which gitbook
which gh-pages
echo 'Running Gitbook installation'
@@ -68,12 +58,7 @@ done
cd ..
echo "Done generating documentation output"
echo 'PUBLISHING'
# git config --global user.email "danny.ri.brown+ohif-bot@gmail.com"
# git config --global user.name "ohif-bot"
# git config user.email "danny.ri.brown+ohif-bot@gmail.com"
# git config user.name "ohif-bot"
echo 'STARTING PUBLISH'
# WILL ALWAYS FAIL IF INITIATED FROM PR BRANCH
./node_modules/.bin/gh-pages \