Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Print url in action overview
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasdiez committed Feb 7, 2022
1 parent e7c8e46 commit 5f7086f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/doc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
cp -r -L /sage/local/share/doc/sage/html/en ./docs
- name: Deploy to Netlify
id: deploy-neflify
uses: netlify/actions/cli@master
with:
# We could use --alias="${NETLIFY_ALIAS}" to fix the deploy url to the branch name.
Expand All @@ -52,3 +53,7 @@ jobs:
NETLIFY_ALIAS: ${{ github.ref_name }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}

- name: Report deployment url
run: |
echo "::notice::The documentation has being automatically deployed to Netlify.\n\n✅ Preview: ${{ steps.deploy-neflify.outputs.NETLIFY_URL }}"

0 comments on commit 5f7086f

Please sign in to comment.