change gitea.com to domain variable for data retrieval purposes
This commit is contained in:
@ -284,9 +284,10 @@ runs:
|
|||||||
|
|
||||||
|
|
||||||
echo "::group::Prepare files"
|
echo "::group::Prepare files"
|
||||||
|
domain="code.klank.school"
|
||||||
|
|
||||||
echo "Event: ${{gitea.event_name}}
|
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}}
|
Committer: ${{gitea.actor}}
|
||||||
Message: ${{gitea.event.head_commit.message}}" && show_hr
|
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."
|
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
domain="code.klank.school"
|
|
||||||
echo "Previous Revision: https://${domain}/${{gitea.repository}}/commit/${git_previous_commit}" && show_hr
|
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"
|
# ${proxy_cmd} lftp -c "set log:enabled/xfer false; get -O ~ \"${remote_path_slash}.deploy-revision\"; exit 0"
|
||||||
|
Reference in New Issue
Block a user