+3
-3
@@ -7,16 +7,16 @@ steps:
|
||||
pull: if-not-exists
|
||||
image: golang:1.23
|
||||
environment:
|
||||
TELEGRAM_TOKEN:
|
||||
BOT_TOKEN:
|
||||
from_secret: bot_token
|
||||
POSTGRES_URL_CONNECT:
|
||||
from_secret: postgres_url_connect
|
||||
settings:
|
||||
envs: [ TELEGRAM_TOKEN,POSTGRES_URL_CONNECT ]
|
||||
envs: [ BOT_TOKEN,POSTGRES_URL_CONNECT ]
|
||||
commands:
|
||||
- CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o smm_tg cmd/smm_tg/main.go
|
||||
- touch .env
|
||||
- echo TELEGRAM_TOKEN=$${TELEGRAM_TOKEN} >> .env
|
||||
- echo BOT_TOKEN=$${TELEGRAM_TOKEN} >> .env
|
||||
- echo POSTGRES_URL_CONNECT=$${POSTGRES_URL_CONNECT} >> .env
|
||||
|
||||
- name: test
|
||||
|
||||
Reference in New Issue
Block a user