Skip to content

Commit

Permalink
Merge pull request #2 from mozilla-it/SE-1008-repair
Browse files Browse the repository at this point in the history
main / master typo in GHA CD file
  • Loading branch information
cmharlow authored Aug 31, 2021
2 parents e02f027 + f69f17c commit 58c74ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Delivery & Release (Docker Build, Tag & Push)

on:
push:
branches: [master]
branches: [main]
release:
types: [released]

Expand All @@ -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"
Expand Down

0 comments on commit 58c74ea

Please sign in to comment.