From ff752fe562e7f338a400fcd89d0abc847872504e Mon Sep 17 00:00:00 2001 From: Joseph Flinn <58369717+joseph-flinn@users.noreply.github.com> Date: Tue, 31 Aug 2021 08:10:51 -0700 Subject: [PATCH] Retro Action Item: Moving rc branch check (#1543) * removing branch check on the deploy and forcing the rc branch * adding the branch check back in for the manual release portion * removing the old branch check * removing the unneeded branch check --- .github/workflows/prod-deploy.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/prod-deploy.yml b/.github/workflows/prod-deploy.yml index 650700ec67..e16d61a676 100644 --- a/.github/workflows/prod-deploy.yml +++ b/.github/workflows/prod-deploy.yml @@ -17,17 +17,10 @@ jobs: package_version: ${{ steps.create_tags.outputs.package_version }} tag_version: ${{ steps.create_tags.outputs.tag_version }} steps: - - name: Branch check - run: | - if [[ "$GITHUB_REF" != "refs/heads/rc" ]]; then - echo "===================================" - echo "[!] Can only deploy from rc branch" - echo "===================================" - exit 1 - fi - - name: Checkout Repo uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f + with: + ref: rc - name: Create Deploy version vars id: create_tags