diff --git a/.github/workflows/deploy-DEV.yml b/.github/workflows/deploy-DEV.yml index 813e0406..54816cf7 100644 --- a/.github/workflows/deploy-DEV.yml +++ b/.github/workflows/deploy-DEV.yml @@ -53,12 +53,18 @@ jobs: shell: bash run: .automation/upload-docker.sh + ####################### + # Get the branch name # + ####################### + - name: Extract branch name + shell: bash + run: echo "::set-env name=BRANCH_NAME::$(echo ${GITHUB_REF#refs/heads/} | sed 's/\//_/g')" + ################################ # Run Linter against code base # ################################ - name: Run Test Cases shell: bash run: | - echo "::set-env name=BRANCH_NAME::$(echo ${GITHUB_REF#refs/heads/} | sed 's/\//_/g')" docker pull admiralawkbar/super-linter:${BRANCH_NAME} docker run -e RUN_LOCAL=true -e TEST_CASE_RUN=true -v ${GITHUB_WORKSPACE}:/tmp/lint admiralawkbar/super-linter:${BRANCH_NAME}