forked from Controls/gitea-pages
print location of rendered page in workflow output
Build and Deploy Documentation / build-and-deploy (push) Successful in 7s
Build and Deploy Documentation / build-and-deploy (push) Successful in 7s
This commit is contained in:
@@ -39,3 +39,7 @@ jobs:
|
||||
REPO_URL=$(echo "${{ github.server_url }}/${{ github.repository }}.git" | sed 's|https://||')
|
||||
git push -f https://${{ secrets.GITHUB_TOKEN }}@$REPO_URL gitea-pages
|
||||
|
||||
NAMESPACE=$(echo "${{ github.repository }}" | sed 's|/.*||')
|
||||
REPO=$(echo "${{ github.repository }}" | sed -e 's|^[^/]*/|/|' -e 's|/gitea-pages||')
|
||||
echo Your page is now at https://${NAMESPACE}.pages.psi.ch${REPO}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user