Skip to content

Commit

Permalink
Added cf_stack to build process.
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwinderg committed May 12, 2023
1 parent 994ebc7 commit 9381682
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
APP_DOMAIN: app.cloud.gov
CF_ORG: ${{ secrets.CF_ORG }}
CF_SPACE: ${{ secrets.CF_SPACE_DEV }}
CF_STACK: cflinuxfs4
CF_USER_DEV: ${{ secrets.CF_USER_DEV }}
CF_PASSWORD_DEV: ${{ secrets.CF_PASSWORD_DEV }}
LEW_BASIC_AUTH_USER_NAME: ${{ secrets.LEW_BASIC_AUTH_USER_NAME }}
Expand Down Expand Up @@ -90,5 +91,5 @@ jobs:
# Now that front-end is built in server/dist, only push server dir to Cloud.gov
- name: Deploy application to Cloud.gov
run: cf push $APP_NAME --strategy rolling -f manifest-dev.yml -p . -t 180
run: cf push $APP_NAME --strategy rolling -f manifest-dev.yml -p . -t 180 -s $CF_STACK
working-directory: app
3 changes: 2 additions & 1 deletion .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
APP_DOMAIN: app.cloud.gov
CF_ORG: ${{ secrets.CF_ORG }}
CF_SPACE: ${{ secrets.CF_SPACE_STAGING }}
CF_STACK: cflinuxfs4
CF_USER_STAGING: ${{ secrets.CF_USER_STAGING }}
CF_PASSWORD_STAGING: ${{ secrets.CF_PASSWORD_STAGING }}
LEW_BASIC_AUTH_USER_NAME: ${{ secrets.LEW_BASIC_AUTH_USER_NAME }}
Expand Down Expand Up @@ -91,5 +92,5 @@ jobs:
# Now that front-end is built in server/dist, only push server dir to Cloud.gov
- name: Deploy application to Cloud.gov
run: cf push $APP_NAME --strategy rolling -f manifest-staging.yml -p . -t 180
run: cf push $APP_NAME --strategy rolling -f manifest-staging.yml -p . -t 180 -s $CF_STACK
working-directory: app

0 comments on commit 9381682

Please sign in to comment.