mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-12 05:58:18 +02:00
Use cf_manifest to specify the manifest location
This commit is contained in:
parent
934b28af76
commit
dec025cc4a
3 changed files with 3 additions and 5 deletions
2
.github/workflows/deploy-sandbox.yaml
vendored
2
.github/workflows/deploy-sandbox.yaml
vendored
|
@ -50,12 +50,12 @@ jobs:
|
|||
ENVIRONMENT: ${{ needs.variables.outputs.environment }}
|
||||
CF_USERNAME: CF_${{ needs.variables.outputs.environment }}_USERNAME
|
||||
CF_PASSWORD: CF_${{ needs.variables.outputs.environment }}_PASSWORD
|
||||
MANIFEST: ops/manifests/manifest-${{ needs.variables.outputs.environment }}.yaml
|
||||
with:
|
||||
cf_username: ${{ secrets[env.CF_USERNAME] }}
|
||||
cf_password: ${{ secrets[env.CF_PASSWORD] }}
|
||||
cf_org: cisa-dotgov
|
||||
cf_space: ${{ env.ENVIRONMENT }}
|
||||
cf_manifest: ops/manifests/manifest-${{ env.environment }}.yaml
|
||||
comment:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [variables, deploy]
|
||||
|
|
3
.github/workflows/deploy-stable.yaml
vendored
3
.github/workflows/deploy-stable.yaml
vendored
|
@ -31,10 +31,9 @@ jobs:
|
|||
run: docker compose run app python manage.py collectstatic --no-input
|
||||
- name: Deploy to cloud.gov sandbox
|
||||
uses: cloud-gov/cg-cli-tools@main
|
||||
env:
|
||||
MANIFEST: "ops/manifests/manifest-stable.yaml"
|
||||
with:
|
||||
cf_username: ${{ secrets.CF_STABLE_USERNAME }}
|
||||
cf_password: ${{ secrets.CF_STABLE_PASSWORD }}
|
||||
cf_org: cisa-dotgov
|
||||
cf_space: stable
|
||||
cf_manifest: "ops/manifests/manifest-stable.yaml"
|
||||
|
|
3
.github/workflows/deploy-staging.yaml
vendored
3
.github/workflows/deploy-staging.yaml
vendored
|
@ -31,10 +31,9 @@ jobs:
|
|||
run: docker compose run app python manage.py collectstatic --no-input
|
||||
- name: Deploy to cloud.gov sandbox
|
||||
uses: cloud-gov/cg-cli-tools@main
|
||||
env:
|
||||
MANIFEST: "ops/manifests/manifest-staging.yaml"
|
||||
with:
|
||||
cf_username: ${{ secrets.CF_STAGING_USERNAME }}
|
||||
cf_password: ${{ secrets.CF_STAGING_PASSWORD }}
|
||||
cf_org: cisa-dotgov
|
||||
cf_space: staging
|
||||
cf_manifest: "ops/manifests/manifest-staging.yaml"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue