Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
pattersonbl2 committed Mar 5, 2024
1 parent fcec48e commit bd1b7be
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/gcp_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ name: Deploy to GCS

on:
push:
branches:
- gcs-pipleine
branches:
- gcs-pipeline

jobs:
deploy:
runs-on: ubuntu-latest
environment: stage
environment: stage
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -17,7 +18,7 @@ jobs:
with:
credentials_json: ${{ secrets.GCP_SA_KEY }}

- name: set up gcloud
- name: set up gcloud
uses: google-github-actions/setup-gcloud@v2

- name: stage build with unpublsiehd contents
Expand All @@ -26,6 +27,7 @@ jobs:
yarn build:unpublished
- name: Run deployment script
run: |
export EXTENSION_WORKSHOP_BUCKET_GCS=${{ env.EXTENSION_WORKSHOP_BUCKET_GCS }}
bash ${Github_Workspace}/bin/gcs-deploy.sh
bash ${Github_Workspace}/bin/gcs-deploy.sh
env:
EXTENSION_WORKSHOP_BUCKET_GCS: ${{ env.EXTENSION_WORKSHOP_BUCKET_GCS }}

0 comments on commit bd1b7be

Please sign in to comment.