Run early
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -5,7 +5,7 @@ on:
|
||||
tags:
|
||||
- 'v**'
|
||||
schedule:
|
||||
- cron: '0 1 * * *'
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -38,7 +38,7 @@ jobs:
|
||||
continue-on-error: false
|
||||
run: |
|
||||
# 3AM CET
|
||||
since="$(date -d 'yesterday' +%Y-%m-%d) 01:00:00"
|
||||
since="$(date -d 'yesterday' +%Y-%m-%d) 00:00:00"
|
||||
count=$(git rev-list --count --since="$since" --until=now HEAD)
|
||||
if [ "$count" -gt 0 ]; then
|
||||
echo "new_commits=true" >> $GITHUB_OUTPUT
|
||||
|
||||
4
.github/workflows/build_docker.yml
vendored
4
.github/workflows/build_docker.yml
vendored
@@ -5,7 +5,7 @@ on:
|
||||
tags:
|
||||
- 'v**'
|
||||
schedule:
|
||||
- cron: '0 1 * * *'
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
jobs:
|
||||
build-and-push-image:
|
||||
@@ -25,7 +25,7 @@ jobs:
|
||||
continue-on-error: false
|
||||
run: |
|
||||
# 3AM CET
|
||||
since="$(date -d 'yesterday' +%Y-%m-%d) 01:00:00"
|
||||
since="$(date -d 'yesterday' +%Y-%m-%d) 00:00:00"
|
||||
count=$(git rev-list --count --since="$since" --until=now HEAD)
|
||||
if [ "$count" -gt 0 ]; then
|
||||
echo "new_commits=true" >> $GITHUB_OUTPUT
|
||||
|
||||
@@ -276,9 +276,6 @@ func (zr *Handlers) handleHome(resp http.ResponseWriter, req *http.Request) {
|
||||
<tr>
|
||||
<td>Utilities</td>
|
||||
<td colspan="2">
|
||||
<form method="get" action="/logs/upload">
|
||||
<input type="submit" value="Upload logs" /> Share the link to get help
|
||||
</form>
|
||||
<form method="post" action="/torrents/dump">
|
||||
<input type="submit" value="Dump torrents" /> Copy all your zurgtorrent files to your dump folder
|
||||
</form>
|
||||
@@ -295,6 +292,9 @@ func (zr *Handlers) handleHome(resp http.ResponseWriter, req *http.Request) {
|
||||
<tr>
|
||||
<td>Debug</td>
|
||||
<td colspan="2">
|
||||
<form method="get" action="/logs/upload">
|
||||
<input type="submit" value="Upload logs" /> Share the link to get help
|
||||
</form>
|
||||
<form method="post" action="/reboot-worker">
|
||||
<input type="submit" value="Reboot worker pool" />
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user