From f69f17c5d7fd18bd8bb90810e3d1270593e68d3f Mon Sep 17 00:00:00 2001 From: Christina Harlow Date: Tue, 31 Aug 2021 15:46:06 -0400 Subject: [PATCH] main / master typo in GHA CD file --- .github/workflows/cd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 6e65ac8..812eb1a 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -2,7 +2,7 @@ name: Delivery & Release (Docker Build, Tag & Push) on: push: - branches: [master] + branches: [main] release: types: [released] @@ -19,7 +19,7 @@ jobs: run: | export CI_COMMIT_SHORT_SHA=$(git describe --abbrev=7 --always --tags) echo $CI_COMMIT_SHORT_SHA; - if [ ${GITHUB_REF##*/} = "master" ]; then + if [ ${GITHUB_REF##*/} = "main" ]; then echo "::set-output name=tag::stg-$CI_COMMIT_SHORT_SHA" else echo "::set-output name=tag::$CI_COMMIT_SHORT_SHA"