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: 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