webvm deployment workflow now displays final url in a cleaner way.

This commit is contained in:
zinobias 2023-05-15 16:38:04 +02:00 committed by Alessandro Pignotti
parent 945d648035
commit eed08ca1d7

View file

@ -177,7 +177,9 @@ jobs:
- name: Deploy GitHub Pages site
id: deployment
uses: actions/deploy-pages@v2.0.0
- name: Print final url
- name: Print final url as job summary
run: |
echo "::notice::URL to the image ${{ steps.deployment.outputs.page_url }}${{ github.event.inputs.IMAGE_NAME }}"
echo "::notice::URL to the Github pages site ${{ steps.deployment.outputs.page_url }}"
echo "| Final URL to the Github pages site |" >> $GITHUB_STEP_SUMMARY
echo "| ---------------------------------- |" >> $GITHUB_STEP_SUMMARY
echo "| ${{ steps.deployment.outputs.page_url }} |" >> $GITHUB_STEP_SUMMARY