Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Commit ca72eca

Browse files
committed
chore: test
1 parent 5b456e5 commit ca72eca

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

.github/workflows/template-deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ jobs:
1919
password: ${{ github.token }}
2020

2121
- name: Deploy
22+
env:
23+
ONEBOT_V11_WS_URLS: ${{ secrets.ONEBOT_V11_WS_URLS }}
24+
ONEBOT_V11_ACCESS_TOKEN: ${{ secrets.ONEBOT_V11_ACCESS_TOKEN }}
25+
API_KEY: ${{ secrets.API_KEY }}
2226
run: |
2327
export COMPOSE_PROJECT_NAME=async-bot
2428
docker compose pull

docker-compose.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
services:
2+
async-bot:
3+
image: ghcr.io/async-lab/async-bot:latest
4+
restart: unless-stopped
5+
environment:
6+
- DRIVER=~websocket
7+
- ONEBOT_V11_WS_URLS=${ONEBOT_V11_WS_URLS}
8+
- ONEBOT_V11_ACCESS_TOKEN=${ONEBOT_V11_ACCESS_TOKEN}
9+
- API_KEY=${API_KEY}
10+
volumes:
11+
- ./data:/data

0 commit comments

Comments
 (0)