0
0

Stopped building Ansible

This commit is contained in:
Opnxng 2025-01-05 02:36:06 +08:00
parent d4a36b9df0
commit a23897bf3b

View File

@ -4,13 +4,13 @@ env:
REPO_NAME: ansible REPO_NAME: ansible
REMOTE_REPO: https://github.com/ansible/ansible.git REMOTE_REPO: https://github.com/ansible/ansible.git
BUILD_PLATFORM: linux/amd64 BUILD_PLATFORM: linux/amd64
on: # on:
schedule: # schedule:
- cron: "0 0 1 */3 *" # every 3 months # - cron: "0 0 1 */3 *" # every 3 months
push: # push:
paths: # paths:
- ".gitea/workflows/ansible.yaml" # - ".gitea/workflows/ansible.yaml"
- "dockerfiles/ansible.Dockerfile" # - "dockerfiles/ansible.Dockerfile"
jobs: jobs:
build: build:
@ -63,4 +63,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