File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 8686 HETZNER_CA_KEY : ${{ secrets.HETZNER_CA_KEY }}
8787 OPENPROJECT_ENTERPRISE_TOKEN : ${{ secrets.OPENPROJECT_ENTERPRISE_TOKEN }}
8888
89+ - name : Add secondary URLs to job summary
90+ if : steps.pullpreview.outputs.live == 'true'
91+ shell : bash
92+ run : |
93+ set -euo pipefail
94+ preview_url="${{ steps.pullpreview.outputs.url }}"
95+ preview_host="${preview_url#https://}"
96+ preview_host="${preview_host#http://}"
97+ preview_host="${preview_host%%/*}"
98+ preview_host="${preview_host%%:*}"
99+
100+ {
101+ echo ""
102+ echo "### Preview endpoints"
103+ echo ""
104+ echo "- Main FQDN: https://${preview_host}"
105+ echo "- Nextcloud: https://nextcloud.${preview_host}"
106+ echo "- Keycloak: https://keycloak.${preview_host}/realms/opnc"
107+ } >> "${GITHUB_STEP_SUMMARY}"
108+
89109 - name : Validate preview URLs
90110 if : steps.pullpreview.outputs.live == 'true'
91111 shell : bash
You can’t perform that action at this time.
0 commit comments