cloud-run-job-base/.github/workflows/deploy_to_run_job.yml
2025-12-05 22:52:38 +09:00

24 lines
492 B
YAML

name: Gitea Deploy to GCP AR
on:
workflow_dispatch:
pull_request:
branches:
- deploy-prd
- deploy-dev
jobs:
gcp-deploy:
name: Deploy to GCP
runs-on: ubuntu-latest
env:
GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}
GCP_SA_KEY: ${{ secrets.GCP_SA_KEY }}
REPO_NAME: ${{ github.repository }}
HASH_SUFFIX: ${{ github.sha }}
JOB_NAME: ${{ vars.JOB_NAME }}
steps:
- name: Checkout code
uses: actions/checkout@v3