downgrading scp action version
Some checks failed
Build and Deploy Resume Site / setup-website-content (push) Failing after 10s

This commit is contained in:
shockrah 2024-09-11 22:03:33 -07:00
parent 1a3cbfa43b
commit 0857d8edd6

View File

@ -17,12 +17,11 @@ jobs:
uses: actions/checkout@v4
- name: Build website content
run: hugo
- name: SSH Setup and Copy
run: |
eval $(ssh-agent -s) \
echo "${{ secrets.PRIVATE_KEY }}" | ssh-add - > /dev/null \
mkdir -p ~/.ssh \
chmod 0700 ~/.ssh \
scp -o UserKnownHostsFile=/dev/null -r public/ $ssh_target:$remote_path
- name: Copy using scp-action
uses: appleboy/scp-action@v0.1.3
with:
host: shockrah.xyz
username: html-deployer
key: ${{ secrets.PRIVATE_KEY }}
source: public/
target: /opt/nginx/test.shockrah.xyz