This commit is contained in:
parent
67149c1283
commit
6c67d0e8b4
|
@ -18,8 +18,11 @@ jobs:
|
||||||
go env -w GO111MODULE=on
|
go env -w GO111MODULE=on
|
||||||
go env -w GOPROXY=https://goproxy.io,direct
|
go env -w GOPROXY=https://goproxy.io,direct
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_ed25519
|
echo "${{ secrets.DEPLOY_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
|
||||||
|
echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_ed25519.pub
|
||||||
chmod 600 ~/.ssh/id_ed25519
|
chmod 600 ~/.ssh/id_ed25519
|
||||||
|
chmod 600 ~/.ssh/id_ed25519.pub
|
||||||
|
ssh -T git@focs.ji.sjtu.edu.cn -p 2222
|
||||||
shell: bash
|
shell: bash
|
||||||
- name: Determine build command
|
- name: Determine build command
|
||||||
id: build_command
|
id: build_command
|
||||||
|
|
Loading…
Reference in New Issue
Block a user