changed key file name
This commit is contained in:
parent
1c054fc700
commit
649b825b7a
@ -13,8 +13,8 @@ jobs:
|
|||||||
- run: zola build
|
- run: zola build
|
||||||
- name: Write SSH keys
|
- name: Write SSH keys
|
||||||
run: |
|
run: |
|
||||||
install -m 600 -D /dev/null ~/.ssh/id_rsa
|
install -m 600 -D /dev/null ~/.ssh/id_ed25519
|
||||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
|
||||||
ssh-keyscan -H soaos.dev > ~/.ssh/known_hosts
|
ssh-keyscan -H soaos.dev > ~/.ssh/known_hosts
|
||||||
- name: Copy built site to server
|
- name: Copy built site to server
|
||||||
run: scp -sr public git@soaos.dev:/var/www/soaos.dev
|
run: scp -sr public git@soaos.dev:/var/www/soaos.dev
|
||||||
|
Loading…
x
Reference in New Issue
Block a user