add envs
continuous-integration/drone/push Build is passing Details

This commit is contained in:
user-penguin 2024-05-24 01:32:49 +07:00
parent 5b7744080c
commit 90bd963e00
1 changed files with 9 additions and 0 deletions

View File

@ -10,8 +10,17 @@ steps:
- name: test
image: golang:1.22
environment:
order_bot_token:
from_secret: order_bot_token
telegram_order_chat_id:
from_secret: telegram_order_chat_id
settings:
envs: [ order_bot_token, telegram_order_chat_id ]
commands:
- go test ./...
- echo $${order_bot_token} >> order_bot_token.txt
- echo $${telegram_order_chat_id} >> telegram_order_chat_id.txt
- name: scp
image: appleboy/drone-scp