Skip to content

Commit 0a452ef

Browse files
committed
chore: Add info to step summary
Signed-off-by: Roger Barker <[email protected]>
1 parent 0c309bb commit 0a452ef

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/firebase-hosting-pull-request.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,16 @@ jobs:
2424
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2525

2626
- name: Deploy to Firebase Hosting on PR
27+
id: deploy-preview
2728
uses: FirebaseExtended/action-hosting-deploy@0cbcac4740c2bfb00d632f0b863b57713124eb5a # v0.9.0
2829
with:
2930
repoToken: ${{ secrets.GITHUB_TOKEN }}
3031
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_PANDAS_WHO_CODE }}
3132
projectId: pandas-who-code
33+
expires: '7d'
34+
35+
- name: Display Preview URL
36+
run: |
37+
echo "## Preview URL" | tee -a "${GITHUB_STEP_SUMMARY}"
38+
echo "Preview URL: ${{ steps.deploy-preview.outputs.details_url }}" | tee -a "${GITHUB_STEP_SUMMARY}"
39+
echo "Expires At: ${{ steps.deploy-preview.outputs.expire_time }}" | tee -a "${GITHUB_STEP_SUMMARY}"

0 commit comments

Comments
 (0)