0
0

Build Caddy monthly
All checks were successful
caddy / build (push) Successful in 8m5s

This commit is contained in:
Opnxng 2023-11-19 01:54:44 +08:00
parent e2c9c38da9
commit 0b326a9084

View File

@ -9,8 +9,8 @@ on:
paths:
- ".gitea/workflows/caddy.yaml"
- "dockerfiles/caddy.Dockerfile"
# schedule:
# - cron: "0 0 * * *" # at midnight
schedule:
- cron: "0 0 1 * *" # monthly
jobs:
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)
echo "STORED_COMMIT=${STORED_COMMIT}" >> "$GITHUB_ENV"
exit 1
fi
fi