meta: adjust deploy pipeline
This commit is contained in:
@@ -3,11 +3,11 @@ when:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build horsebot
|
- name: build horsebot
|
||||||
image: golang:1.27-alpine
|
image: golang:1.27
|
||||||
commands:
|
commands:
|
||||||
- go build -o horsebot ./cmd/horsebot
|
- go build -o horsebot ./cmd/horsebot
|
||||||
- name: build zenno
|
- name: build zenno
|
||||||
image: node:24-alpine
|
image: node:24
|
||||||
commands:
|
commands:
|
||||||
- cd zenno
|
- cd zenno
|
||||||
- npm ci
|
- npm ci
|
||||||
@@ -29,6 +29,7 @@ steps:
|
|||||||
key:
|
key:
|
||||||
from_secret: ssh_key
|
from_secret: ssh_key
|
||||||
port: 22
|
port: 22
|
||||||
|
fingerprint: SHA256:EotqHBzzp9vWQm+SR8WWw7Hk8ZuVkfXXBAdzrgG5d+o
|
||||||
target: /root/zenno-deploy
|
target: /root/zenno-deploy
|
||||||
source:
|
source:
|
||||||
- zenno.tar.gz
|
- zenno.tar.gz
|
||||||
@@ -42,5 +43,6 @@ steps:
|
|||||||
key:
|
key:
|
||||||
from_secret: ssh_key
|
from_secret: ssh_key
|
||||||
port: 22
|
port: 22
|
||||||
|
fingerprint: SHA256:EotqHBzzp9vWQm+SR8WWw7Hk8ZuVkfXXBAdzrgG5d+o
|
||||||
script:
|
script:
|
||||||
- /root/zenno.sh
|
- /root/zenno.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user