Skip to content

Workflow file for this run

name: Deploy to GCS
on:
workflow_dispatch:
push:
branches:
- gcs-pipeline
jobs:
deploy:
runs-on: ubuntu-latest
enviroment: stage

Check failure on line 12 in .github/workflows/gcp_deploy.yaml

View workflow run for this annotation

GitHub Actions / Deploy to GCS

Invalid workflow file

The workflow is not valid. .github/workflows/gcp_deploy.yaml (Line: 12, Col: 5): Unexpected value 'enviroment'
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Google Cloud SDK
uses: google-github-actions/[email protected]
with:
version: 'latest'
service_account_key: ${{ secrets.GCP_SA_KEY }}
project_id: ${{ secrets.GCP_PROJECT_ID }}
- name: Echo pwd
run: pwd
- name: stage build with unpublsiehd contents
run: |
yarn install
yarn build:unpublished
- name: Run deployment script
run: |
bash ${Github_Workspace}/bin/gcs-deploy.sh
env:
EXTENSION_WORKSHOP_BUCKET_GCS = ${{ secrets.EXTENSION_WORKSHOP_BUCKET_GCS }}