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