mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-23 15:56:45 -04:00
7
.github/workflows/restage-apps.yml
vendored
7
.github/workflows/restage-apps.yml
vendored
@@ -18,19 +18,16 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
app: ["api", "admin"]
|
app: ["api", "admin"]
|
||||||
steps:
|
steps:
|
||||||
- name: get pwd
|
|
||||||
shell: bash
|
|
||||||
run: echo "$PWD" >> "$GITHUB_OUTPUT"
|
|
||||||
- name: Restage ${{matrix.app}}
|
- name: Restage ${{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 }}
|
||||||
cf_password: ${{ secrets.CLOUDGOV_PASSWORD }}
|
cf_password: ${{ secrets.CLOUDGOV_PASSWORD }}
|
||||||
|
DANGEROUS_SALT: $${{ secrets.DANGEROUS_SALT }}
|
||||||
cf_org: gsa-tts-benefits-studio
|
cf_org: gsa-tts-benefits-studio
|
||||||
cf_space: notify-${{ inputs.environment }}
|
cf_space: notify-${{ inputs.environment }}
|
||||||
command: |
|
command: |
|
||||||
ls
|
cf set-env notify-${{matrix.app}}-${{inputs.environment}} DANGEROUS_SALT "$DANGEROUS_SALT"
|
||||||
ls /home/runner/work/notifications-api/notifications-api/manifest.yml && cf push notify-${{matrix.app}}-${{inputs.environment}} -f /home/runner/work/notifications-api/notifications-api/manifest.yml
|
|
||||||
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