From ea9625106c661d77c60e60a2727baccd995fcb25 Mon Sep 17 00:00:00 2001 From: Josh Klar Date: Mon, 13 Sep 2021 21:31:42 -0700 Subject: [PATCH] chore: remove long-broken and unused-ish Deploy stage from CI --- .github/workflows/deploy.yml | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index e1162fd..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Deploy - -on: - push: - branches: [ master ] - create: - tags: [ '*' ] - -jobs: - build: - runs-on: ubuntu-latest - container: kmkfw/base - - steps: - - uses: actions/checkout@v2 - - name: Test the code (lint) - run: make test - - name: Package the code - run: make dist - - - name: Branch based code deployment - run: make dist-deploy - if: github.event_name == 'push' - env: - CIRCLE_BRANCH: "${GITHUB_REF_NAME}" - AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }} - AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }} - AWS_SESSION_TOKEN: ${{ secrets.AWS_SESSION_TOKEN }} - - name: Tag based code deployment - run: make dist-deploy - if: github.event_name == 'create' - env: - CIRCLE_TAG: "${GITHUB_REF_NAME}" - AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }} - AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }} - AWS_SESSION_TOKEN: ${{ secrets.AWS_SESSION_TOKEN }}