debugging workflow
This commit is contained in:
parent
729cdb094e
commit
ed26b67bc2
@ -12,9 +12,10 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- run: zola build
|
- run: zola build
|
||||||
- name: Write SSH keys
|
- name: Write SSH keys
|
||||||
run: install -m 600 -D /dev/null ~/.ssh/id_ed25519
|
run: |
|
||||||
- run: echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
|
install -m 600 -D /dev/null ~/.ssh/id_ed25519
|
||||||
- run: ssh-keyscan -H soaos.dev > ~/.ssh/known_hosts
|
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
|
||||||
|
ssh-keyscan -H 192.168.1.113 > ~/.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