Skip to content

7.5.5

7.5.5 #34

Workflow file for this run

name: CD
on:
push:
tags:
- "*"
jobs:
build:
uses: ubio/github-actions/.github/workflows/ci-build.yaml@master
with:
name: Protocol
image: gcr.io/automation-cloud-registry/protocol
ref: ${{ github.ref }}
secrets:
REGISTRY_SECRET: ${{ secrets.GCP_REGISTRY_ACCESS }}
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
deploy-staging:
needs: build
uses: ubio/github-actions/.github/workflows/cd-dispatch-deploy.yaml@master
with:
gh_user: ubio
gh_repo: infrastructure
image_name: website-protocol
env_name: staging
app_path: automation-cloud/website-protocol
auto_merge: true
secrets:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
deploy-production:
needs: build
uses: ubio/github-actions/.github/workflows/cd-dispatch-deploy.yaml@master
with:
gh_user: ubio
gh_repo: infrastructure
image_name: website-protocol
env_name: production
app_path: automation-cloud/website-protocol
auto_merge: false
pr_assignees: ${{ github.actor }}
secrets:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}