diff --git a/.gitea/pr-commenter.yml b/.gitea/pr-commenter.yml index a962975..af1b872 100644 --- a/.gitea/pr-commenter.yml +++ b/.gitea/pr-commenter.yml @@ -26,8 +26,7 @@ comment: - '**' body: | #### :rocket: Jekyll deploy `{{ deployOutcome }}` - #### :link: Preview documentation [here]({{ deployUrl }}) - #### :link: Preview documentation [here](https://www.lafs.eval.latfa.net/) + #### :link: Preview documentation [here]({{ deployBaseUrl }}/{{ deployPrefix}}/{{ deploySuffix }}) - id: pusher-{{ gitActor }}-{{ gitEventName }}-{{ gitRunNumber }} files: diff --git a/.gitea/workflows/jekyll.yaml b/.gitea/workflows/jekyll.yaml index 65188f6..e2c0c9e 100644 --- a/.gitea/workflows/jekyll.yaml +++ b/.gitea/workflows/jekyll.yaml @@ -71,7 +71,9 @@ jobs: "buildOutcome": "${{ steps.build_site.outcome }}", "buildOutputsResult": ${{ toJSON(steps.build_site.outputs.result) }}, "deployOutcome": "${{ steps.deploy_site.outcome }}", - "deployUrl": "${{ format('{0}/{1}{2}/', env.BASE_URL, env.PREFIX, env.SUFFIX) }}", + "deployBaseUrl": "${{ env.BASE_URL }}", + "deployPrefix": "${{ env.PREFIX }}", + "deploySuffix": "${{ env.SUFFIX }}", "gitActor": "${{ gitea.actor }}", "gitEventName": "${{ gitea.event_name }}", "gitWorkflow": "${{ gitea.workflow }}",