This commit is contained in:
parent
a68cfaa0d7
commit
fdfa0e48a0
|
|
@ -21,9 +21,9 @@ jobs:
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_ed25519
|
echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_ed25519
|
||||||
chmod 600 ~/.ssh/id_ed25519
|
chmod 600 ~/.ssh/id_ed25519
|
||||||
ssh-keyscan -p 22 127.0.0.1 >> ~/.ssh/known_hosts
|
ssh-keyscan -p 22 116.203.131.247 >> ~/.ssh/known_hosts
|
||||||
|
|
||||||
- name: Deploy AstraOS folder to server
|
- name: Deploy AstraOS folder to server
|
||||||
run: |
|
run: |
|
||||||
rsync -av --delete \
|
rsync -av --delete \
|
||||||
./AstraOS/ astraos@127.0.0.1:/home/astraos/Astra-OS-Panel/
|
./AstraOS/ astraos@116.203.131.247:/home/astraos/Astra-OS-Panel/
|
||||||
Loading…
Reference in a new issue