- You must have a Token with name
GITHUB_TOKEN
,which have the right ofrepo
,admin:repo_hook
andworkflow
- Fork this repository and Find the
secrets
in the settings of repository - Then,get in the
Actions secrets
,add a secret with nameSITE
which content is the Production Environment Address of LeanCloud - The last,see whether normal in the Actions,and redeploy in the engine of LeanCloud
- In addtion,if you want to switch on
Auto Clean Commit
by yourself,you could clickRun workflow
in the corresponding action task of Actions
- For getting your Production Environment Address of LeanCloud
- Actions File, for cleaning the commit created in the process of Action
- The default of schedule time is the stander of UTC,
01:00
in Tusday and wednesday(You could modify this by changing the value of-cron
in AutoClean.yml file) - The main subjects of cleaning are those
action commit
which have been existed for 2 day(You could modify this by changing thevalue of days_to_expiration
) - The main page of cleaning is 10(You could modify this by changing the value of
pages
) - Supporting wake by yourself
- Actions File,for wake Leancloud engine caused by flow control
- The defaut of schedule time is the stander of UTC, every day
0:00
to15:00
, runs every 16 minutes(You could modify this by changing the value of-cron
in AutoWake.yml file ) - Supporting wake by yourself
- Ching Chow put forward the method of cleaning in the question of
Delete old workflow results
- wq-h put forward the wake method of Leancloud in the repositroy of
WakeLeanCloud