Skip to content

Commit a0ee52f

Browse files
committed
output info to GITHUB_STEP_SUMMARY
1 parent febc3dc commit a0ee52f

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

.github/workflows/push-main.yml

+14-6
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,26 @@ jobs:
2828
GH_PRIVATE_KEY: ${{ secrets.GH_PRIVATE_KEY }}
2929
GH_WEBHOOK_SECRET: ${{ secrets.GH_WEBHOOK_SECRET }}
3030
steps:
31-
- uses: actions/checkout@v4
32-
- uses: actions/setup-node@v4
31+
- name: Checkout
32+
uses: actions/checkout@v4
33+
34+
- name: Set up Node.js
35+
uses: actions/setup-node@v4
3336
with:
3437
node-version: "18"
3538
cache: yarn
3639

37-
- run: yarn
40+
- name: Install Dependencies
41+
run: yarn
3842

39-
- uses: aws-actions/configure-aws-credentials@v4
43+
- name: Configure AWS Credentials
44+
uses: aws-actions/configure-aws-credentials@v4
4045
with:
4146
role-to-assume: ${{ vars.AWS_DEPLOY_ROLE }}
4247
aws-region: ${{ vars.AWS_REGION }}
4348

44-
- run: yarn deploy --stage $NODE_ENV
45-
- run: yarn serverless info --stage $NODE_ENV
49+
- name: Deploy
50+
run: yarn deploy --stage $NODE_ENV
51+
52+
- name: Output Serverless Info
53+
run: echo $(yarn serverless info --stage $NODE_ENV) >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)