Skip to content

Commit 81fc806

Browse files
committed
cicd: clear cache after deployment
1 parent b9680a9 commit 81fc806

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/pages.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,5 @@ jobs:
5151
echo "${{ secrets.PRIVATE_SSH_KEY }}" > ~/.ssh/id_rsa
5252
- name: 🚀 Deploy to Website
5353
run: rsync --archive --stats -e 'ssh -p 18765 -o StrictHostKeyChecking=no' public/ swharden.com@ssh.swharden.com:~/www/swharden.com/public_html/patch/
54-
54+
- name: 🧹 Clear Cache
55+
run: ssh swharden.com@ssh.swharden.com -p 18765 "site-tools-client domain update id=1 flush_cache=1"

0 commit comments

Comments
 (0)