Skip to content

Commit 395d570

Browse files
committed
[ci] use local sftp fork, use USER_branch format
1 parent 937742b commit 395d570

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/build-deploy-zodiac.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,10 @@ jobs:
2727
run: echo "BRANCH_NAME=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
2828

2929
- name: Copy package to server
30-
uses: wlixcc/[email protected]
30+
uses: NeuroJSON/[email protected]
3131
with:
3232
server: ${{ secrets.NEUROJ_SERVER }}
3333
username: ${{ secrets.NEUROJ_SERVER_USER }}
3434
ssh_private_key: ${{ secrets.NEUROJ_SERVER_SSH_KEY }}
3535
local_path: "./build/*"
36-
remote_path: "${{ secrets.NEUROJ_CI_PATH }}/${{ env.BRANCH_NAME }}"
37-
rsyncArgs: '--exclude=*.map'
38-
sftpArgs: '-o ConnectTimeout=5'
36+
remote_path: "${{ secrets.NEUROJ_CI_PATH }}/${{ github.actor }}_${{ env.BRANCH_NAME }}"

0 commit comments

Comments
 (0)