From ee742b5291a467a0347c516b6df256974a95ddfa Mon Sep 17 00:00:00 2001 From: Benoit Donneaux Date: Thu, 23 May 2024 22:48:31 +0200 Subject: [PATCH] Avoid format function for now Signed-off-by: Benoit Donneaux --- .gitea/pr-commenter.yml | 3 +-- .gitea/workflows/jekyll.yaml | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) 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 }}",