File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ name: build-and-deploy
8
8
permissions :
9
9
contents : read
10
10
jobs :
11
+
11
12
build-and-test :
12
13
permissions :
13
14
id-token : write
25
26
image-tag : ${{ needs.build-and-test.outputs.image-tag }}
26
27
secrets : inherit
27
28
28
- # TODO:
29
- # Complete the workflow configuration for each jobs above (CI and CD)
30
- # Create workflow summary
29
+ # Create workflow summary
30
+ post-deploy :
31
+ needs : [build-and-test,deploy-to-prod]
32
+ runs-on : ubuntu-latest
33
+ permissions :
34
+ contents : read
35
+ steps :
36
+ - name : Post Deploy
37
+ env :
38
+ APP_URL : ${{ needs.deploy-to-prod.outputs.app_url }}
39
+ APP_IP : ${{ needs.deploy-to-prod.outputs.app_ip }}
40
+ run : |
41
+ echo "## Final Summary" >> $GITHUB_STEP_SUMMARY
42
+ echo "APP_URL: http://$APP_URL" >> $GITHUB_STEP_SUMMARY
43
+ echo "APP_IP: $APP_IP" >> $GITHUB_STEP_SUMMARY
You can’t perform that action at this time.
0 commit comments