Skip to content

Commit 68b3f2b

Browse files
committed
2 parents de2fe13 + 8a057f3 commit 68b3f2b

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

.ci/publish_gcloud.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
BRANCH=$1
2+
gsutil cp -r dist/* "gs://cdn.terminusdb.com/js_libs/terminusdb-client/${BRANCH}/"

.github/workflows/workflow.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,13 @@ jobs:
2525
fi
2626
env:
2727
BINTRAY_API_TOKEN: ${{ secrets.BINTRAY_API_TOKEN }}
28+
- name: Set up Cloud SDK
29+
uses: google-github-actions/setup-gcloud@master
30+
with:
31+
project_id: ${{ secrets.GCP_PROJECT_ID }}
32+
service_account_key: ${{ secrets.GCLOUD_TOKEN }}
33+
export_default_credentials: true
34+
- run: |
35+
if [ $(echo "${{ github.ref }}" | grep -P "dev|canary") ]; then
36+
bash ".ci/publish_gcloud.sh" "${GITHUB_REF##*/}"
37+
fi

docs/tutorials/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This is a place for JS tutorials for TerminusDB

0 commit comments

Comments
 (0)