downgrading scp action version
Some checks failed
Build and Deploy Resume Site / setup-website-content (push) Failing after 10s
Some checks failed
Build and Deploy Resume Site / setup-website-content (push) Failing after 10s
This commit is contained in:
parent
1a3cbfa43b
commit
0857d8edd6
@ -17,12 +17,11 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Build website content
|
- name: Build website content
|
||||||
run: hugo
|
run: hugo
|
||||||
- name: SSH Setup and Copy
|
- name: Copy using scp-action
|
||||||
run: |
|
uses: appleboy/scp-action@v0.1.3
|
||||||
eval $(ssh-agent -s) \
|
with:
|
||||||
echo "${{ secrets.PRIVATE_KEY }}" | ssh-add - > /dev/null \
|
host: shockrah.xyz
|
||||||
mkdir -p ~/.ssh \
|
username: html-deployer
|
||||||
chmod 0700 ~/.ssh \
|
key: ${{ secrets.PRIVATE_KEY }}
|
||||||
scp -o UserKnownHostsFile=/dev/null -r public/ $ssh_target:$remote_path
|
source: public/
|
||||||
|
target: /opt/nginx/test.shockrah.xyz
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user