-
Notifications
You must be signed in to change notification settings - Fork 4
42 lines (42 loc) · 1.06 KB
/
cron.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"jobs" : {
"batch_github_master" : {
"if" : "${{ github.ref == 'refs/heads/master' }}",
"runs-on" : "ubuntu-latest",
"steps" : [
{
"uses" : "actions/checkout@v2",
"with" : {
"token" : "${{ secrets.GH_ACCESS_TOKEN }}"
}
},
{
"run" : "git config --global user.email \u0022temp@github.test\u0022"
},
{
"run" : "git config --global user.name \u0022GitHub Actions\u0022"
},
{
"run" : "make deps"
},
{
"run" : "make updatenightly"
},
{
"run" : "git diff-index --quiet HEAD --cached || git commit -m auto"
},
{
"run" : "git push origin \u002B`git rev-parse HEAD`:refs/heads/nightly"
}
]
}
},
"name" : "cron",
"on" : {
"schedule" : [
{
"cron" : "40 7 * * *"
}
]
}
}