fix
This commit is contained in:
@@ -9,6 +9,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: golang:1.24
|
container: golang:1.24
|
||||||
steps:
|
steps:
|
||||||
|
- name: Setup SSH
|
||||||
|
run: |
|
||||||
|
mkdir -p ~/.ssh
|
||||||
|
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
||||||
|
chmod 600 ~/.ssh/id_rsa
|
||||||
|
ssh-keyscan your-server.com >> ~/.ssh/known_hosts
|
||||||
|
'
|
||||||
- name: Install node and go
|
- name: Install node and go
|
||||||
run: apt update && apt -y install nodejs
|
run: apt update && apt -y install nodejs
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
|
|||||||
Reference in New Issue
Block a user