From d1194252363d17401fd460370dd83acd59033255 Mon Sep 17 00:00:00 2001 From: Dustin Pianalto Date: Sun, 30 Aug 2020 16:51:00 -0800 Subject: [PATCH] revert to previous method of getting branch name --- .github/workflows/main.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6220930..8f82432 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ on: jobs: build: - if: ${GITHUB_REF##*/} == 'refs/heads/master' || ${GITHUB_REF##*/} == 'refs/heads/development' + if: github.event.base_ref == 'refs/heads/master' || github.event.base_ref == 'refs/heads/development' runs-on: ubuntu-latest # Steps represent a sequence of tasks that will be executed as part of the job @@ -28,8 +28,6 @@ jobs: - name: Login to Amazon ECR id: login-ecr uses: aws-actions/amazon-ecr-login@v1 - with: - repositories: goff - name: Get Version id: get_version