This commit is contained in:
parent
e2c9c38da9
commit
0b326a9084
@ -9,8 +9,8 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- ".gitea/workflows/caddy.yaml"
|
- ".gitea/workflows/caddy.yaml"
|
||||||
- "dockerfiles/caddy.Dockerfile"
|
- "dockerfiles/caddy.Dockerfile"
|
||||||
# schedule:
|
schedule:
|
||||||
# - cron: "0 0 * * *" # at midnight
|
- cron: "0 0 1 * *" # monthly
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -70,4 +70,4 @@ jobs:
|
|||||||
STORED_COMMIT=$(curl -H "Authorization: Bearer ${{ secrets.NT }}" -s "https://nt.opnxng.com/${REPO_NAME}/raw?poll=1" | tail -n 1)
|
STORED_COMMIT=$(curl -H "Authorization: Bearer ${{ secrets.NT }}" -s "https://nt.opnxng.com/${REPO_NAME}/raw?poll=1" | tail -n 1)
|
||||||
echo "STORED_COMMIT=${STORED_COMMIT}" >> "$GITHUB_ENV"
|
echo "STORED_COMMIT=${STORED_COMMIT}" >> "$GITHUB_ENV"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user