Skip to content

Commit e6b0ca2

Browse files
committed
CICD: enable rsync to delete remote files
1 parent 46b505c commit e6b0ca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci-site.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ jobs:
2929
- name: 🔑 Populate Key
3030
run: echo "${{ secrets.PRIVATE_KEY }}" > ~/.ssh/id_rsa
3131
- name: 🚀 Upload
32-
run: rsync --archive --stats -e 'ssh -p 18765 -o StrictHostKeyChecking=no' 'website/output/' [email protected]:~/www/swharden.com/public_html/csdv/
32+
run: rsync --archive --delete --stats -e 'ssh -p 18765 -o StrictHostKeyChecking=no' 'website/output/' [email protected]:~/www/swharden.com/public_html/csdv/
3333
- name: 🧹 Clear Cache
3434
run: ssh [email protected] -p 18765 "site-tools-client domain update id=1 flush_cache=1"

0 commit comments

Comments
 (0)