From fbc73a8426f7aaa28c6274fa15dff026bd2b759b Mon Sep 17 00:00:00 2001 From: Riviera Taylor Date: Wed, 19 Feb 2025 14:29:51 +0100 Subject: [PATCH] change gitea.com to domain variable for data retrieval purposes --- action.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 769fa4b..c8aa60a 100644 --- a/action.yml +++ b/action.yml @@ -284,9 +284,10 @@ runs: echo "::group::Prepare files" + domain="code.klank.school" echo "Event: ${{gitea.event_name}} - Revision: https://gitea.com/${{gitea.repository}}/commit/${{gitea.sha}} + Revision: https://${domain}/${{gitea.repository}}/commit/${{gitea.sha}} Committer: ${{gitea.actor}} Message: ${{gitea.event.head_commit.message}}" && show_hr @@ -312,7 +313,7 @@ runs: echo "::error::Commit history not found for delta synchronization. Please ensure you have 'fetch-depth: 0' option in checkout action. Please ignore if this is an initial commit or newly created branch." exit 1 fi - domain="code.klank.school" + echo "Previous Revision: https://${domain}/${{gitea.repository}}/commit/${git_previous_commit}" && show_hr # ${proxy_cmd} lftp -c "set log:enabled/xfer false; get -O ~ \"${remote_path_slash}.deploy-revision\"; exit 0"