/WakeHeroku

🕒Wake your Heroku application by using Github Action

Primary LanguagePython

WakeHeroku

English

简体中文

如何使用

  • Fork此项目
  • 添加一个名为GITHUB_TOKEN的Token,并为赋予repoadmin:repo_hookworkflow的权限
  • 添加名为SITE的Secrets,内容为自己Heroku应用地址。多个请用英文逗号分隔,请手动加上https://或者http://

修改时间

修改时间直接修改/.github/workflows/WakeupHeroku.yml文件的cron表达式即可。

时间是UTC时间,注意时差问题

English

How to use?

  • Fork this repo
  • Add a token in name GITHUB_TOKEN and give the permissions of repo, admin:repo_hook and workflow
  • Add a secret in your repo named SITE and input all your application link in it. If you have more than one, please split it in comma. Please add http:// or https:// manually!

Change time

Just edit the time in cron format in file /.github/workflows/WakeupHeroku.yml

The time is UTC time