mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-12 16:22:17 -05:00
ugh revert and fix
This commit is contained in:
10
.github/workflows/restage-apps.yml
vendored
10
.github/workflows/restage-apps.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
app: ["api", "admin"]
|
app: ["api", "admin"]
|
||||||
steps:
|
steps:
|
||||||
- name: Restage ${{matrix.app}}
|
- name: Update env variables ${{matrix.app}}
|
||||||
uses: cloud-gov/cg-cli-tools@main
|
uses: cloud-gov/cg-cli-tools@main
|
||||||
with:
|
with:
|
||||||
cf_username: ${{ secrets.CLOUDGOV_USERNAME }}
|
cf_username: ${{ secrets.CLOUDGOV_USERNAME }}
|
||||||
@@ -28,6 +28,14 @@ jobs:
|
|||||||
cf_space: notify-${{ inputs.environment }}
|
cf_space: notify-${{ inputs.environment }}
|
||||||
command: |
|
command: |
|
||||||
cf set-env notify-${{matrix.app}}-${{inputs.environment}} DANGEROUS_SALT "$DANGEROUS_SALT"
|
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}}
|
cf restage --strategy rolling notify-${{matrix.app}}-${{inputs.environment}}
|
||||||
- name: Restage ${{matrix.app}} egress
|
- name: Restage ${{matrix.app}} egress
|
||||||
uses: cloud-gov/cg-cli-tools@main
|
uses: cloud-gov/cg-cli-tools@main
|
||||||
|
|||||||
Reference in New Issue
Block a user