This commit is contained in:
parent
8e3a538540
commit
0c1b114f81
1 changed files with 1 additions and 1 deletions
2
.github/workflows/update-server.yml
vendored
2
.github/workflows/update-server.yml
vendored
|
@ -7,7 +7,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- run: mkdir ~/.ssh
|
- run: mkdir ~/.ssh
|
||||||
- name: create ssh profile
|
- name: create ssh profile
|
||||||
run: echo "${{ secrets.AUTOMATION_SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
run: echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
||||||
- run: chmod 600 ~/.ssh/id_rsa
|
- run: chmod 600 ~/.ssh/id_rsa
|
||||||
- name: update git
|
- name: update git
|
||||||
run: ssh -o StrictHostKeyChecking=no -p ${{ secrets.SSH_PORT }} automation@neo.ixvd.net srvctl -fn neo mm u git
|
run: ssh -o StrictHostKeyChecking=no -p ${{ secrets.SSH_PORT }} automation@neo.ixvd.net srvctl -fn neo mm u git
|
||||||
|
|
Reference in a new issue