This commit is contained in:
parent
98f1341ba1
commit
67149c1283
|
@ -8,8 +8,6 @@ jobs:
|
||||||
build:
|
build:
|
||||||
container:
|
container:
|
||||||
image: focs.ji.sjtu.edu.cn:5000/gitea/runner-images:golang-ubuntu-latest
|
image: focs.ji.sjtu.edu.cn:5000/gitea/runner-images:golang-ubuntu-latest
|
||||||
volumes:
|
|
||||||
- /home/actions/.ssh:/root/.ssh
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: https://gitea.com/BoYanZh/checkout@focs
|
uses: https://gitea.com/BoYanZh/checkout@focs
|
||||||
|
@ -19,7 +17,10 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
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
|
||||||
chown -R root:root /root/.ssh
|
mkdir -p ~/.ssh
|
||||||
|
echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_ed25519
|
||||||
|
chmod 600 ~/.ssh/id_ed25519
|
||||||
|
shell: bash
|
||||||
- name: Determine build command
|
- name: Determine build command
|
||||||
id: build_command
|
id: build_command
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue
Block a user