免费学习该课程!
今天就开通帐号,24,700 门业界名师课程任您挑!
Run actions on a schedule
(triumphant electronic tune) - [Ray] You've got to get hub action, and you want to make sure that it runs not just once, or when the users push something to your repo, but every day at 8:30 AM. How would you do something like that? Now we'll give you a couple of seconds to pause the video and see how you may have solved something like this. (bright electronic tune) Now, for this example, I'm going to be using the action I did on the previous video. So we're going to go into this workflow file, and we're going to modify it just a little bit. So you can see right here that it shows you that this will be activated when somebody pushes into our main branch. What we want to do is run this on a schedule. So we'll say schedule right here. And then on the next line, we'll put a dash and the word cron, with a colon and then a string. What I want to do here is 30 and then space 8, and then a series of three stars.…
内容
-
-
-
Clone a repo with an empty history2 分钟 28 秒
-
(已锁定)
How do you merge a linear history?4 分钟 22 秒
-
(已锁定)
Add an issue directly from the Terminal2 分钟 56 秒
-
(已锁定)
Deleting all commit history1 分钟 56 秒
-
(已锁定)
Fix a committed password4 分钟 32 秒
-
(已锁定)
Create a monorepo3 分钟 18 秒
-
(已锁定)
Update certain branches3 分钟 18 秒
-
(已锁定)
Process all branches3 分钟 48 秒
-
(已锁定)
Run accessibility audit on push6 分钟 43 秒
-
(已锁定)
Use hidden secrets in projects5 分钟 29 秒
-
(已锁定)
Run actions on a schedule3 分钟 13 秒
-
(已锁定)
Create a Docker container action5 分钟 25 秒
-
(已锁定)
Build and deploy your sites3 分钟 55 秒
-