From 7fd8180463412ec8c00a8665fb4e20b149c91383 Mon Sep 17 00:00:00 2001 From: Brandon Patterson Date: Wed, 3 Apr 2024 12:03:05 -0400 Subject: [PATCH] wip --- .github/workflows/gcp_deploy.yaml | 9 ++++----- .github/workflows/gcp_deploy_prod.yaml | 1 + 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gcp_deploy.yaml b/.github/workflows/gcp_deploy.yaml index 6023628a1..c7a8c051b 100644 --- a/.github/workflows/gcp_deploy.yaml +++ b/.github/workflows/gcp_deploy.yaml @@ -8,7 +8,7 @@ on: jobs: deploy-stage: runs-on: ubuntu-latest - environment: stage + environment: stage steps: - name: Checkout code uses: actions/checkout@v3 @@ -20,12 +20,11 @@ jobs: - name: set up gcloud uses: google-github-actions/setup-gcloud@v2 - + - name: stage build with unpublsiehd contents run: | yarn install - yarn build:unpublished - - name: Deploying unpublsiehd content to stage. + yarn build:production + - name: Deploying unpublsiehd content to stage. run: | sh ./bin/gcs-deploy.sh ${{vars.EXTENSIONWORKSHOP_BUCKET_STAGE}} - diff --git a/.github/workflows/gcp_deploy_prod.yaml b/.github/workflows/gcp_deploy_prod.yaml index efc2dbb4e..2d10da604 100644 --- a/.github/workflows/gcp_deploy_prod.yaml +++ b/.github/workflows/gcp_deploy_prod.yaml @@ -4,6 +4,7 @@ on: push: tags: - "20[0-9][0-9].[0-9][0-9].[0-9][0-9](-[0-9]+)?" + workflow_dispatch: jobs: deploy-prod: