diff --git a/.github/workflows/restage-apps.yml b/.github/workflows/restage-apps.yml index 07acd5fb7..1ee7c9629 100644 --- a/.github/workflows/restage-apps.yml +++ b/.github/workflows/restage-apps.yml @@ -18,7 +18,7 @@ jobs: matrix: app: ["api", "admin"] steps: - - name: Restage ${{matrix.app}} + - name: Update env variables ${{matrix.app}} uses: cloud-gov/cg-cli-tools@main with: cf_username: ${{ secrets.CLOUDGOV_USERNAME }} @@ -28,6 +28,14 @@ jobs: cf_space: notify-${{ inputs.environment }} command: | cf set-env notify-${{matrix.app}}-${{inputs.environment}} DANGEROUS_SALT "$DANGEROUS_SALT" + - name: Restage ${{matrix.app}} + uses: cloud-gov/cg-cli-tools@main + with: + cf_username: ${{ secrets.CLOUDGOV_USERNAME }} + cf_password: ${{ secrets.CLOUDGOV_PASSWORD }} + cf_org: gsa-tts-benefits-studio + cf_space: notify-${{ inputs.environment }} + command: | cf restage --strategy rolling notify-${{matrix.app}}-${{inputs.environment}} - name: Restage ${{matrix.app}} egress uses: cloud-gov/cg-cli-tools@main