Skip to content

Commit

Permalink
Update config file name to config.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaoborui committed Mar 20, 2024
1 parent 4081889 commit c9c9a25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ jobs:
docker pull qiaoborui/wzxynew:latest
docker stop wzxynew
docker rm wzxynew
docker run -itd --name wzxynew -v ${{ secrets.WZXYNEW_CONFIG }}:/usr/src/app/users.toml qiaoborui/wzxynew:latest
docker run -itd --name wzxynew -v ${{ secrets.WZXYNEW_CONFIG }}:/usr/src/app/config.toml qiaoborui/wzxynew:latest
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ school_id = "学校编号"
- username:登录校园晚签系统所用的用户名。
- password:登录校园晚签系统所用的密码。
- school_id:学校的编号。
请按照上述格式填写并保存为 config.ini 文件。
请按照上述格式填写并保存为 config.toml 文件。
支持多用户使用,只需在配置文件中添加多个用户即可。

#### 1.1 学校编号
Expand All @@ -50,7 +50,7 @@ python wzxy.py
docker pull qiaoborui/wzxynew:latest
```
```shell
docker run -itd -v /your/path/users.toml:/usr/src/app/users.toml --name wzxynew qiaoborui/wzxynew:latest
docker run -itd -v /your/path/config.toml:/usr/src/app/config.toml --name wzxynew qiaoborui/wzxynew:latest
```
将 /your/path/users.toml 替换为你的配置文件路径。
#### 3.1 查看日志
Expand Down

0 comments on commit c9c9a25

Please sign in to comment.