Use GitHub Actions to automatically complete Alibaba cloud disk sign-in

Original link: https://qq52o.me/2820.html

aliyunpan.png

From the internal test to the public test, Alibaba Cloud Disk has always claimed that “there is no speed limit in the future when it comes to free payment”, but it seems that the speed limit has started recently, and you need to open a membership to increase the speed.

Now it seems that the main backup disk is also started:备份无忧整理有序.

If you want to increase the speed, you can only register as a member, and members enjoy the privilege of extremely fast downloading. After registering as a super member of Alibaba Cloud Disk, if the current download bandwidth peak or busy period is currently, your download speed will be guaranteed first.

If you don’t want to spend money, you can only get members through the current sign-in activity, and continue the free prostitution to the end!

teambition closed beta invitation

From the internal test to the present, we have obtained 14TB of storage space, but now we only use 20.42GB .

Back to the topic, use GitHub Actions to check in:

Create .github/workflows/aliyun-signin.yml file in the repo and write the following content

 name: Aliyun Signin on: schedule: - cron: '40 14 * * *' workflow_dispatch: jobs: signin: name: Aliyun Signin runs-on: ubuntu-latest steps: - uses: ImYrS/aliyun-auto-signin@main with: REFRESH_TOKENS: $ GP_TOKEN: $ PUSH_TYPES: $ FEISHU_WEBHOOK: $ DO_NOT_REWARD: 'true'

ImYrS/aliyun-auto-signin is used, which is an automatic sign-in script for Alibaba cloud disk with multi-account sign-in and push function.

Supports push methods such as Feishu, DingTalk, Telegram, SMTP, webhook, etc. Feishu is used in this article.

For other configurations, please refer to the How-To-Use-Action.md document.

After configuring the corresponding secrets , you can wait for the timing to execute at 22:40 , or manually click to execute.

REFRESH_TOKENS can be obtained using tools .

GP_TOKEN needs to be created by itself, because the refresh token needs to be updated when running in Action.

It is recommended to manually test whether it can be used normally, and if it can, wait for the scheduled execution in the future.

This article is transferred from: https://qq52o.me/2820.html
This site is only for collection, and the copyright belongs to the original author.