Skip to content

Commit 6079459

Browse files
committed
cicd: update deployment targets
1 parent 8aafebe commit 6079459

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/pages.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ jobs:
4242
uses: actions/upload-pages-artifact@v1
4343
with:
4444
path: "./public"
45-
- name: 🚀 Deploy Site
45+
- name: 🚀 Deploy to GitHub Pages
4646
id: deployment
47-
uses: actions/deploy-pages@v1
47+
uses: actions/deploy-pages@v1
48+
- name: 🔑 Load SSH Key
49+
run: |
50+
install -m 600 -D /dev/null ~/.ssh/id_rsa
51+
echo "${{ secrets.PRIVATE_SSH_KEY }}" > ~/.ssh/id_rsa
52+
- name: 🚀 Deploy to Website
53+
run: rsync --archive --stats -e 'ssh -p 18765 -o StrictHostKeyChecking=no' public/ swharden.com@ssh.swharden.com:~/www/swharden.com/public_html/patch/
54+

0 commit comments

Comments
 (0)