Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
66381d7312 | |||
801a36fe2d | |||
8aacb87d31 | |||
3b39e2875a | |||
c2546a80a3 | |||
fe9e1db42e | |||
1aa3969490 | |||
2c72939043 |
@ -27,7 +27,7 @@ This is a composite Gitea Action (Linux runner) for deploying repository content
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: "Deploy"
|
||||
uses: https://code.klank.school/riviera/actions-file-deployer@v1
|
||||
uses: https://code.klank.school/riviera/actions-file-deployer@v3
|
||||
with:
|
||||
remote-protocol: "sftp"
|
||||
remote-host: "ftp.example.com"
|
||||
@ -65,7 +65,7 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: "Deploy"
|
||||
uses: https://code.klank.school/riviera/actions-file-deployer@v1
|
||||
uses: https://code.klank.school/riviera/actions-file-deployer@v3
|
||||
with:
|
||||
remote-protocol: "sftp"
|
||||
remote-host: "ftp.example.com"
|
||||
|
@ -198,7 +198,7 @@ runs:
|
||||
echo "::group::Configurations"
|
||||
|
||||
config_ssh=~/.ssh/config
|
||||
mkdir ~/.ssh && echo -e "ExitOnForwardFailure=yes\nStrictHostKeyChecking=no" > ${config_ssh} && chmod 600 ${config_ssh} && echo "File created: ${config_ssh}"
|
||||
mkdir -p ~/.ssh && echo -e "ExitOnForwardFailure=yes\nStrictHostKeyChecking=no" > ${config_ssh} && chmod 600 ${config_ssh} && echo "File created: ${config_ssh}"
|
||||
[ "${{inputs.debug}}" == "true" ] && cat ${config_ssh}
|
||||
show_hr
|
||||
|
||||
@ -312,7 +312,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"
|
||||
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"
|
||||
|
Reference in New Issue
Block a user