diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ac73a0d6..ab58ce50 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,24 +23,6 @@ jobs: - name: build run: npm run build:all - # - name: deploy api - # uses: 18f/cg-deploy-action@main - # with: - # cf_username: ${{ secrets.CF_USERNAME }} - # cf_password: ${{ secrets.CF_PASSWORD }} - # cf_org: gsatts-sitescan - # cf_space: prod - # push_arguments: '--vars-file vars.yml site-scanner-api' - - # - name: deploy consumer - # uses: 18f/cg-deploy-action@main - # with: - # cf_username: ${{ secrets.CF_USERNAME }} - # cf_password: ${{ secrets.CF_PASSWORD }} - # cf_org: gsatts-sitescan - # cf_space: prod - # push_arguments: '--vars-file vars.yml site-scanner-consumer' - - name: deploy api and consumer uses: cloud-gov/cg-cli-tools@main with: diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index d0af8198..a8b2b118 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -28,25 +28,7 @@ jobs: - name: build run: npm run build:all - - name: deploy api to dev - uses: 18f/cg-deploy-action@main - with: - cf_username: ${{ secrets.CF_USERNAME }} - cf_password: ${{ secrets.CF_PASSWORD }} - cf_org: gsatts-sitescan - cf_space: dev - push_arguments: '--vars-file vars-dev.yml site-scanner-api' - - - name: deploy consumer to dev - uses: 18f/cg-deploy-action@main - with: - cf_username: ${{ secrets.CF_USERNAME }} - cf_password: ${{ secrets.CF_PASSWORD }} - cf_org: gsatts-sitescan - cf_space: dev - push_arguments: '--vars-file vars-dev.yml site-scanner-consumer' - - - name: scale consumer + - name: deploy api and consumer to dev uses: cloud-gov/cg-cli-tools@main with: cf_api: https://api.fr.cloud.gov @@ -54,6 +36,4 @@ jobs: cf_password: ${{ secrets.CF_PASSWORD }} cf_org: gsatts-sitescan cf_space: dev - cf_command: 'scale site-scanner-consumer -i 1 -k 4G -m 512M -f' - # scale to two instances with 4G scratch disk and 2G - # memory each and force deploy + cf_command: push -f manifest.yml --vars-file vars-prod.yml