File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 24
24
required : true
25
25
NEW_RELIC_LICENSE_KEY :
26
26
27
+ env :
28
+ APP_NAME : ${{ inputs.APP_NAME }}
29
+ DB_NAME : ${{ inputs.DB_NAME }}
30
+ NEW_RELIC_APP_NAME : ${{ inputs.NEW_RELIC_APP_NAME }}
31
+ ORGANIZATION_NAME : ${{ inputs.ORGANIZATION_NAME }}
32
+ SPACE_NAME : ${{ inputs.SPACE_NAME }}
33
+ CF_USERNAME : ${{ secrets.CF_USERNAME }}
34
+ CF_PASSWORD : ${{ secrets.CF_PASSWORD }}
35
+ API_DATA_GOV_SECRET : ${{ secrets.API_DATA_GOV_SECRET }}
36
+ NEW_RELIC_LICENSE_KEY : ${{ secrets.NEW_RELIC_LICENSE_KEY }}
37
+
27
38
jobs :
28
39
deploy_api :
29
40
runs-on : ubuntu-latest
74
85
cf login -u $CF_USERNAME -p $CF_PASSWORD -o $ORGANIZATION_NAME -s $SPACE_NAME
75
86
cat manifest.yml
76
87
cf push -f "./manifest.yml"
77
- cf set-env analytics-reporter-api-develop API_DATA_GOV_SECRET "$API_DATA_GOV_SECRET"
78
- cf restage analytics-reporter-api-develop
88
+ cf set-env $APP_NAME API_DATA_GOV_SECRET "$API_DATA_GOV_SECRET"
89
+ cf restage $APP_NAME
79
90
cf logout
You can’t perform that action at this time.
0 commit comments