test workflow
This commit is contained in:
23
.github/workflows/syncToGitee.yml
vendored
23
.github/workflows/syncToGitee.yml
vendored
@@ -24,17 +24,20 @@ jobs:
|
|||||||
author_email: 41898282+github-actions[bot]@users.noreply.github.com
|
author_email: 41898282+github-actions[bot]@users.noreply.github.com
|
||||||
message: Update git tree hash
|
message: Update git tree hash
|
||||||
push: true
|
push: true
|
||||||
- name: Sync to mirror ftp server
|
- name: Sync to mirror file server
|
||||||
uses: kevinpainchaud/simple-ftp-deploy-action@v1.2.1
|
uses: sand4rt/ftp-deployer@v1.3
|
||||||
|
if: github.actor != 'github-actions[bot]'
|
||||||
with:
|
with:
|
||||||
ftp_host: ${{ secrets.FTP_MIRROR_DESTINATION }}
|
sftp: false
|
||||||
ftp_username: ${{ secrets.FTP_MIRROR_USERNAME }}
|
host: ${{ secrets.FTP_MIRROR_DESTINATION }}
|
||||||
ftp_password: ${{ secrets.FTP_MIRROR_SECRET }}
|
port: ${{ secrets.FTP_MIRROR_PORT }}
|
||||||
local_source_dir: "."
|
username: ${{ secrets.FTP_MIRROR_USERNAME }}
|
||||||
dist_target_dir: ${{ secrets.FTP_MIRROR_ROOT_PATH }}
|
password: ${{ secrets.FTP_MIRROR_SECRET }}
|
||||||
delete: false
|
remote_folder: ${{ secrets.FTP_MIRROR_ROOT_PATH }}
|
||||||
only_newer: true
|
local_folder: .
|
||||||
exclude: "'^\\.git' '\\.md$' '^sources/' 'gitVersion'"
|
cleanup: true
|
||||||
|
exclude: '[".git/**", ".github/**", "source/**", "*.md", "gitVersion"]'
|
||||||
|
pasive: false
|
||||||
- name: Sync to Gitee repo
|
- name: Sync to Gitee repo
|
||||||
uses: wearerequired/git-mirror-action@master
|
uses: wearerequired/git-mirror-action@master
|
||||||
if: github.actor != 'github-actions[bot]'
|
if: github.actor != 'github-actions[bot]'
|
||||||
|
|||||||
Reference in New Issue
Block a user