From c063dcd650bcbfb2c3b9f463588ffa1ede8d4470 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Tue, 3 Dec 2024 10:38:21 +0100 Subject: [PATCH 1/2] update --- technology/applications/web/WoodpeckerCI.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/technology/applications/web/WoodpeckerCI.md b/technology/applications/web/WoodpeckerCI.md index 9aa6f41..5666fda 100644 --- a/technology/applications/web/WoodpeckerCI.md +++ b/technology/applications/web/WoodpeckerCI.md @@ -9,7 +9,7 @@ rev: 2024-12-03 Woodpecker is a simple, yet powerful CI/CD engine with great extensibility. ## Workflow Syntax -The Workflow section defines a list of steps to build, test and deploy your code. The steps are executed serially in the order in which they are defined. If a step returns a non-zero exit code, the workflow and therefore the entire pipeline terminates immediately and returns an error status. +The Workflow section defines a list of steps to build, test and deploy your code. The steps are executed serially in the order in which they are defined. If a step returns a non-zero exit code, the workflow and therefore the entire pipeline terminates immediately and returns an error status. The workflow files are stored in `.woodpecker` inside your repository. Example steps: From 686440f30781cafe5d9d131214721b40571c049a Mon Sep 17 00:00:00 2001 From: JMARyA Date: Tue, 3 Dec 2024 10:38:47 +0100 Subject: [PATCH 2/2] woodpecker ci --- .gitea/workflows/validate_schema.yml | 20 -------------------- .woodpecker/validate_schema.yml | 9 +++++++++ 2 files changed, 9 insertions(+), 20 deletions(-) delete mode 100644 .gitea/workflows/validate_schema.yml create mode 100644 .woodpecker/validate_schema.yml diff --git a/.gitea/workflows/validate_schema.yml b/.gitea/workflows/validate_schema.yml deleted file mode 100644 index fc1da67..0000000 --- a/.gitea/workflows/validate_schema.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Validate Schema - -on: - push: - branches: - - main - -jobs: - validate: - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - - name: Validation - uses: docker://git.hydrar.de/mdtools/mdtools:latest - with: - entrypoint: /bin/bash - args: scripts/validate_schema.sh diff --git a/.woodpecker/validate_schema.yml b/.woodpecker/validate_schema.yml new file mode 100644 index 0000000..eaed522 --- /dev/null +++ b/.woodpecker/validate_schema.yml @@ -0,0 +1,9 @@ +when: + - event: push + branch: main + +steps: + - name: "Validate Schema" + image: git.hydrar.de/mdtools/mdtools:latest + commands: + - /bin/bash scripts/validate_schema.sh