From f3b6d286230b346cac3716cef601a43e8b2f5b8b Mon Sep 17 00:00:00 2001 From: Zakary Timson Date: Thu, 11 Apr 2019 22:00:11 -0400 Subject: [PATCH] Only deploy master to production site --- .circleci/config.yml | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c35aa83..8c3bca3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -56,28 +56,6 @@ jobs: - run: name: Deploy - command: gsutil cp -r dist/ZaksCode/* gs://staging.zakscode.com - - deploy-prod: - docker: - - image: google/cloud-sdk:latest - - working_directory: ~/repo - - steps: - - checkout - - - attach_workspace: - at: ./ - - - run: - name: Authenticate GCP - command: | - echo $GCLOUD_SERVICE_KEY > key.json - gcloud auth activate-service-account --key-file key.json - - - run: - name: Depoly command: gsutil cp -r dist/ZaksCode/* gs://www.zakscode.com workflows: @@ -92,9 +70,3 @@ workflows: filters: branches: only: master - - deploy-prod: - requires: - - build - filters: - branches: - only: production