chore(tasks): fetch demo with auth
This commit is contained in:
parent
dc5a566e10
commit
b926d281ef
|
@ -6,10 +6,12 @@ PWD="$(pwd)"
|
|||
WORKDIR="$(pwd)/tmp"
|
||||
CLONE_DIR="$WORKDIR/bpmn-io-demo"
|
||||
|
||||
GIT_ENDPOINT=https://$GITHUB_AUTH@github.com/$BPMN_IO_DEMO_ENDPOINT.git
|
||||
|
||||
# create work dir
|
||||
mkdir -p "$WORKDIR"
|
||||
|
||||
git clone --depth=1 https://github.com/$BPMN_IO_DEMO_ENDPOINT.git "$CLONE_DIR"
|
||||
git clone --depth=1 "$GIT_ENDPOINT" "$CLONE_DIR"
|
||||
|
||||
cd "$CLONE_DIR"
|
||||
|
||||
|
@ -22,7 +24,7 @@ git config push.default simple
|
|||
git add -A
|
||||
git commit -m "chore(project): bump bpmn-js to $TRAVIS_TAG"
|
||||
git tag "bpmn-js-$TRAVIS_TAG"
|
||||
git push -q "https://$GITHUB_AUTH@github.com/$BPMN_IO_DEMO_ENDPOINT.git" &2>/dev/null
|
||||
git push --tags -q "https://$GITHUB_AUTH@github.com/$BPMN_IO_DEMO_ENDPOINT.git" &2>/dev/null
|
||||
git push -q "$GIT_ENDPOINT" &2>/dev/null
|
||||
git push --tags -q "$GIT_ENDPOINT" &2>/dev/null
|
||||
|
||||
cd "$PWD"
|
Loading…
Reference in New Issue