Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
c2546a80a3 | |||
fe9e1db42e | |||
1aa3969490 | |||
2c72939043 |
@ -27,7 +27,7 @@ This is a composite Gitea Action (Linux runner) for deploying repository content
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: "Deploy"
|
- name: "Deploy"
|
||||||
uses: https://code.klank.school/riviera/actions-file-deployer@v1
|
uses: https://code.klank.school/riviera/actions-file-deployer@v2
|
||||||
with:
|
with:
|
||||||
remote-protocol: "sftp"
|
remote-protocol: "sftp"
|
||||||
remote-host: "ftp.example.com"
|
remote-host: "ftp.example.com"
|
||||||
@ -65,7 +65,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: "Deploy"
|
- name: "Deploy"
|
||||||
uses: https://code.klank.school/riviera/actions-file-deployer@v1
|
uses: https://code.klank.school/riviera/actions-file-deployer@v2
|
||||||
with:
|
with:
|
||||||
remote-protocol: "sftp"
|
remote-protocol: "sftp"
|
||||||
remote-host: "ftp.example.com"
|
remote-host: "ftp.example.com"
|
||||||
|
@ -3,7 +3,7 @@ name: "FTP/SFTP file deployer"
|
|||||||
description: "Fast and customizable deployment with parallel connections and proxy support. Deploy only changed files or do full sync."
|
description: "Fast and customizable deployment with parallel connections and proxy support. Deploy only changed files or do full sync."
|
||||||
|
|
||||||
branding:
|
branding:
|
||||||
icon: "upload"
|
icon: "upload"
|
||||||
color: "black"
|
color: "black"
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
@ -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."
|
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"
|
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