deploy workflow test2
deploy workflow / Explore-Gitea-Actions (push) Failing after 19s
deploy workflow / Explore-Gitea-Actions (push) Failing after 19s
This commit is contained in:
1 parent
789375cb33
commit
71937f1cc4
1 file changed
+2
-2
@@ -8,7 +8,7 @@ jobs:
|
|||||||
Explore-Gitea-Actions:
|
Explore-Gitea-Actions:
|
||||||
runs-on: runner
|
runs-on: runner
|
||||||
steps:
|
steps:
|
||||||
- uses: gitea/actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install rsync and ssh
|
- name: Install rsync and ssh
|
||||||
run: sudo apt update && sudo apt install -y rsync openssh-client
|
run: sudo apt update && sudo apt install -y rsync openssh-client
|
||||||
- name: Configure ssh key
|
- name: Configure ssh key
|
||||||
@@ -20,6 +20,6 @@ jobs:
|
|||||||
chmod 600 ~/.ssh/private_key
|
chmod 600 ~/.ssh/private_key
|
||||||
ssh-keyscan -p 2001 cancerai.top >> ~/.ssh/known_hosts
|
ssh-keyscan -p 2001 cancerai.top >> ~/.ssh/known_hosts
|
||||||
- name: Push data to website server
|
- name: Push data to website server
|
||||||
run: rsync --delete -e "ssh -p 2001" ./ nginx@cancerai.top:www/owner/
|
run: rsync --delete -e "ssh -i ~/.ssh/private_key -p 2001" ./ nginx@cancerai.top:www/owner/
|
||||||
- name: Clean key
|
- name: Clean key
|
||||||
run: rm -rf ~/.ssh
|
run: rm -rf ~/.ssh
|
||||||
Reference in new issue
Block a user