Skip to content

Deploy Pipeline

Deploy Pipeline #3

Workflow file for this run

name: Deploy to GCS
on:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
fail-fast: true
env:
GCP_AUTH: ${{ secrets.GCP_SA_KEY }}
GCP_PROJECT_SECRET: ${{ secrets.PROJECT_SECRET }}
GCS_SECRET: ${{ secrets.GCS_SECRET }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Google Cloud SDK and auth
uses: 'google-github-actions/auth@v2'
with:
credentials_json: $GCP_AUTH
- name: Execute deployment script
run: bash deployment.sh $GCP_PROJECT_SECRET $GCS_SECRET