From 2b0d9866ecc648b6773eea69166eacdf36d887a5 Mon Sep 17 00:00:00 2001 From: petruki <31597636+petruki@users.noreply.github.com> Date: Thu, 27 Oct 2022 20:25:07 -0700 Subject: [PATCH] Closes #358 - Removed Heroku from CI --- .github/workflows/master.yml | 14 -------------- src/api-docs/swagger-document.js | 4 ++-- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 97f76eb..2caf75a 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -58,20 +58,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - deploy-staging: - name: Deploy to Staging - needs: [ build-test ] - runs-on: ubuntu-latest - if: success() && github.ref == 'refs/heads/master' - - steps: - - uses: actions/checkout@v3 - - uses: akhileshns/heroku-deploy@v3.12.12 - with: - heroku_api_key: ${{secrets.HEROKU_API_KEY_1}} - heroku_app_name: "switcher-api-staging" - heroku_email: ${{secrets.HEROKU_EMAIL_1}} - docker: name: Publish Docker Image needs: [ build-test ] diff --git a/src/api-docs/swagger-document.js b/src/api-docs/swagger-document.js index 26676f7..8c3824a 100644 --- a/src/api-docs/swagger-document.js +++ b/src/api-docs/swagger-document.js @@ -34,8 +34,8 @@ export default { description: 'Local' }, { - url: 'https://switcher-api.herokuapp.com', - description: 'Production' + url: 'https://switcherapi.com/api', + description: 'Cloud API' } ], consumes: ['application/json'],