Skip to content
This repository was archived by the owner on Oct 29, 2021. It is now read-only.

Commit

Permalink
Merge pull request #17 from GSA/bug/remove-deployment
Browse files Browse the repository at this point in the history
Remove deployment to cloud.gov
  • Loading branch information
nickumia-reisys authored Oct 14, 2021
2 parents 2cafc42 + 51e8bc2 commit 7234e5e
Showing 1 changed file with 0 additions and 68 deletions.
68 changes: 0 additions & 68 deletions .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,75 +35,7 @@ jobs:
name: war-file
path: build/fgdc2iso.war
if-no-files-found: error

deploy-development:
if: github.ref == 'refs/heads/develop'
name: deploy (development)
environment: development
runs-on: ubuntu-latest
needs: test

steps:
- name: checkout
uses: actions/checkout@v2
- uses: actions/download-artifact@v2
with:
name: war-file
path: build
- name: deploy
uses: usds/cloud-gov-cli@master
with:
command: push fgdc2iso --vars-file vars.development.yml -p build/fgdc2iso.war --strategy rolling
org: gsa-datagov
space: development
user: ${{secrets.CF_SERVICE_USER}}
password: ${{secrets.CF_SERVICE_AUTH}}

deploy-staging:
if: github.ref == 'refs/heads/main'
name: deploy (staging)
environment: staging
runs-on: ubuntu-latest
needs: test

steps:
- name: checkout
uses: actions/checkout@v2
- uses: actions/download-artifact@v2
with:
name: war-file
path: build
- name: deploy
uses: usds/cloud-gov-cli@master
with:
command: push fgdc2iso --vars-file vars.staging.yml -p build/fgdc2iso.war --strategy rolling
org: gsa-datagov
space: staging
user: ${{secrets.CF_SERVICE_USER}}
password: ${{secrets.CF_SERVICE_AUTH}}
deploy-production:
if: github.ref == 'refs/heads/main'
name: deploy (production)
environment: production
runs-on: ubuntu-latest
needs: deploy-staging

steps:
- name: checkout
uses: actions/checkout@v2
- uses: actions/download-artifact@v2
with:
name: war-file
path: build
- name: deploy
uses: usds/cloud-gov-cli@master
with:
command: push fgdc2iso --vars-file vars.production.yml -p build/fgdc2iso.war --strategy rolling
org: gsa-datagov
space: prod
user: ${{secrets.CF_SERVICE_USER}}
password: ${{secrets.CF_SERVICE_AUTH}}

publish-war:
if: github.ref == 'refs/heads/main'
name: 'Publish War File'
Expand Down

0 comments on commit 7234e5e

Please sign in to comment.