update workflow
This commit is contained in:
28
.github/workflows/syncToGitee.yml
vendored
28
.github/workflows/syncToGitee.yml
vendored
@@ -24,20 +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 file server
|
# - name: Sync to mirror file server
|
||||||
uses: sand4rt/ftp-deployer@v1.3
|
# uses: sand4rt/ftp-deployer@v1.3
|
||||||
if: github.actor != 'github-actions[bot]'
|
# if: github.actor != 'github-actions[bot]'
|
||||||
with:
|
# with:
|
||||||
sftp: false
|
# sftp: false
|
||||||
host: ${{ secrets.FTP_MIRROR_DESTINATION }}
|
# host: ${{ secrets.FTP_MIRROR_DESTINATION }}
|
||||||
port: ${{ secrets.FTP_MIRROR_PORT }}
|
# port: ${{ secrets.FTP_MIRROR_PORT }}
|
||||||
username: ${{ secrets.FTP_MIRROR_USERNAME }}
|
# username: ${{ secrets.FTP_MIRROR_USERNAME }}
|
||||||
password: ${{ secrets.FTP_MIRROR_SECRET }}
|
# password: ${{ secrets.FTP_MIRROR_SECRET }}
|
||||||
remote_folder: ${{ secrets.FTP_MIRROR_ROOT_PATH }}
|
# remote_folder: ${{ secrets.FTP_MIRROR_ROOT_PATH }}
|
||||||
local_folder: .
|
# local_folder: .
|
||||||
cleanup: true
|
# cleanup: true
|
||||||
exclude: '[".git/**", ".github/**", "source/**", "*.md", "gitVersion"]'
|
# exclude: '[".git/**", ".github/**", "source/**", "*.md", "gitVersion"]'
|
||||||
pasive: false
|
# 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