diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index 20b6627a1..a171e3687 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -11,46 +11,46 @@ on: - release/** jobs: - call_build: - uses: ./.github/workflows/build.yml + # call_build: + # uses: ./.github/workflows/build.yml - call_unit_test: - uses: ./.github/workflows/unit_test.yml - needs: call_build + # call_unit_test: + # uses: ./.github/workflows/unit_test.yml + # needs: call_build call_misc_tests: uses: ./.github/workflows/miscellaneous_tests.yml - call_acceptance: - uses: ./.github/workflows/acceptance.yml - needs: call_build - secrets: - BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }} - BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }} + # call_acceptance: + # uses: ./.github/workflows/acceptance.yml + # needs: call_build + # secrets: + # BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }} + # BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }} - format_branch_name: - runs-on: ubuntu-latest - outputs: - formatted_branch: ${{ steps.vars.outputs.formatted_branch }} - steps: - - name: Format branch name # replace '/' with '-' - id: vars - run: | - FORMATTED_BRANCH="$(echo ${GITHUB_REF_NAME} | sed "s/\//-/g")" - echo $FORMATTED_BRANCH - echo ::set-output name=formatted_branch::${FORMATTED_BRANCH} + # format_branch_name: + # runs-on: ubuntu-latest + # outputs: + # formatted_branch: ${{ steps.vars.outputs.formatted_branch }} + # steps: + # - name: Format branch name # replace '/' with '-' + # id: vars + # run: | + # FORMATTED_BRANCH="$(echo ${GITHUB_REF_NAME} | sed "s/\//-/g")" + # echo $FORMATTED_BRANCH + # echo ::set-output name=formatted_branch::${FORMATTED_BRANCH} - call_deploy: - needs: - - call_unit_test - - format_branch_name - - call_acceptance - uses: ./.github/workflows/deploy.yml - with: - directory: dev/${{ needs.format_branch_name.outputs.formatted_branch }} - secrets: - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + # call_deploy: + # needs: + # - call_unit_test + # - format_branch_name + # - call_acceptance + # uses: ./.github/workflows/deploy.yml + # with: + # directory: dev/${{ needs.format_branch_name.outputs.formatted_branch }} + # secrets: + # AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + # AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} concurrency: group: ci-build-and-deploy-${{ github.ref }}-1