fix build butler
continuous-integration/drone/push Build is passing Details

This commit is contained in:
user-penguin 2023-09-13 00:56:55 +07:00
parent 3c5d1dbfd5
commit 0055e724e9
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ steps:
settings: settings:
envs: [ TELEGRAM_TOKEN,POSTGRES_URL_CONNECT ] envs: [ TELEGRAM_TOKEN,POSTGRES_URL_CONNECT ]
commands: commands:
- go build -o butler cmd/butler/main.go - CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o butler cmd/butler/main.go
- touch .env - touch .env
- echo TELEGRAM_TOKEN=$${TELEGRAM_TOKEN} >> .env - echo TELEGRAM_TOKEN=$${TELEGRAM_TOKEN} >> .env
- echo POSTGRES_URL_CONNECT=$${POSTGRES_URL_CONNECT} >> .env - echo POSTGRES_URL_CONNECT=$${POSTGRES_URL_CONNECT} >> .env