-
Notifications
You must be signed in to change notification settings - Fork 198
HOME
Thanks to all the big guys who participated in the wanmeixiaoyuan check-in project
This method deploys to Github (may fail)
- Star and Fork.
- Into your Repositories,
Settings → Secrets
,
add one Secret(Solving privacy concerns with secrets):
Secrets | content | note |
---|---|---|
USERS | wanmeixiaoyuan phone number,password,deviceId,SendKey |
①English comma ②Multiple users only need a new line, and enter another line according to the format ③SendKey only needs one and should be filled in after the first user. ④If you do not fill in SendKey , keep a comma at the end of each line. |
Format specification:
Title | content |
---|---|
deviceId | How to get deviceId |
SendKey | How to get SendKey |
The sample:
-
Modify on-campus check-in address Modify the "areaStr" element in jsons in
index.py
. -
Enable Actions
ClickActions
,Click I understand...
Feel free to add or subtract characters inREADME.md
and submit the changes for the first run. If your workflow has not been updated for 60 days, you need to find theEnable
button in theclock
Workflows and click to enable it. -
Change the time
Open theworkflows/clock.yml
file of this project and find:
schedule:
- cron: 30 23 * * *
- cron: 30 5,13 * * *
This time is international time, +8 can be calculated: 07:00, 13:30, 21:30,
You can go to https://crontab.guru/ to help you generate task grammar.
- Inside-campus and outside-campus transfers
Open theindex.py
file of this project and find it in the last function:
mark = 1 #or mark = 0
Set mark = 1
, which means inside-campus,
Set mark = 0
, which means outside-campus.
- Check the results
In the following figure,run
is the server feedback result:
- See Tencent Cloud functions for detailsreleases
- Other deployment scenarios
To be improved, go to the issue first. Please give more suggestions.
- Go to the new version of Server酱, log in to your account and bind to WeChat, and get push
SendKey
such asSCTxxxxxxxxxxx
. - Fill this
SendKey
intoUSERS
as described above. - If you do not need WeChat push, just leave the
SendKey
blank. - 👍Thanks Server sauce.
路漫漫其修远兮,吾将上下而求索。