fix: update branch name #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# WARNING: If you modify this workflow, please update the documentation | |
on: | |
workflow_call: | |
inputs: | |
deployment_repo: | |
description: The URL of the repository containing deployment code | |
required: false | |
type: string | |
default: input-output-hk/catalyst-world | |
environment: | |
description: The target environment to deploy to | |
required: false | |
type: string | |
default: dev | |
images: | |
description: A newline separated list of image names to deploy | |
required: true | |
type: string | |
tag: | |
description: The image tag to deploy | |
required: false | |
type: string | |
default: ${{ github.sha }} | |
secrets: | |
token: | |
description: A Github token with access to the deployment repository. | |
required: true | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout deployment repository | |
uses: actions/checkout@v4 | |
with: | |
repository: ${{ inputs.deployment_repo }} | |
token: ${{ secrets.token }} | |
- name: Merge hashes | |
uses: input-output-hk/catalyst-ci/actions/merge@@feat/udcmigration | |
with: | |
hash_file: "src/kube/environments/${{ inputs.environment }}/hashes.json" | |
images: ${{ inputs.images }} | |
tag: ${{ inputs.tag }} | |
- name: Run diff | |
run: git --no-pager diff | |
- name: Commit and push | |
uses: EndBug/add-and-commit@v9 | |
with: | |
author_name: catalyst-cibot | |
author_email: [email protected] | |
message: "chore: updates ${{ github.event.repository.name }} deployments" | |
push: true |