Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
pattersonbl2 committed Mar 6, 2024
1 parent cd42240 commit ee40551
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/gcp_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- gcs-pipeline

jobs:
deploy:
deploy-stage:
runs-on: ubuntu-latest
environment: stage
steps:
Expand All @@ -25,10 +25,7 @@ jobs:
run: |
yarn install
yarn build:unpublished
- name: echo env variables
- name: Deploying unpublsiehd content to stage.
run: |
echo $EXTENSION_WORKSHOP_BUCKET_GCS
- name: Run deployment script
run: |
bash ./bin/gcs-deploy.sh code
sh ./bin/gcs-deploy.sh ${{vars.EXTENSIONWORKSHOP_BUCKET_STAGE}}
3 changes: 3 additions & 0 deletions bin/gcs-deploy.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/bin/bash

set -ex
EXTENSION_WORKSHOP_BUCKET_GCS=$1

echo $EXTENSION_WORKSHOP_BUCKET_GCS

CODE_DIR="dist"
# For short-lived assets; in seconds
Expand Down

0 comments on commit ee40551

Please sign in to comment.