Skip to content

Commit e53c0cc

Browse files
committed
ci: directly call rsync command instead of using actions
1 parent 2369c06 commit e53c0cc

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/dnscontrol.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,7 @@ jobs:
4545
- name: Apply DNSControl changes
4646
run: nix run ".#dnscontrol" -- push
4747

48-
- name: Copy zone files
49-
uses: burnett01/rsync-deployments@7.0.1
50-
with:
51-
switches: -avzr --delete-after
52-
path: zones/
53-
remote_path: /ltnet-zones/
54-
remote_host: rsync-ci.xuyh0120.win
55-
remote_port: 2222
56-
remote_user: ci
57-
remote_key: ${{ secrets.DEPLOY_KEY }}
48+
- name: Rsync zone files over SSH
49+
run: |
50+
sudo apt-get install -y rsync
51+
rsync -avzr --delete-after -e "ssh -p2222" zones/ ci@rsync-ci.xuyh0120.win:/ltnet-zones/

0 commit comments

Comments
 (0)