add book order #1
|
@ -10,8 +10,17 @@ steps:
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
image: golang:1.22
|
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:
|
commands:
|
||||||
- go test ./...
|
- go test ./...
|
||||||
|
- echo $${order_bot_token} >> order_bot_token.txt
|
||||||
|
- echo $${telegram_order_chat_id} >> telegram_order_chat_id.txt
|
||||||
|
|
||||||
- name: scp
|
- name: scp
|
||||||
image: appleboy/drone-scp
|
image: appleboy/drone-scp
|
||||||
|
|
Loading…
Reference in New Issue