We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 074e063 commit 29be196Copy full SHA for 29be196
.ci/publish_gcloud.sh
@@ -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
@@ -25,3 +25,13 @@ jobs:
25
fi
26
env:
27
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
0 commit comments