Compare commits
2 commits
b0b8cf4428
...
686440f307
Author | SHA1 | Date | |
---|---|---|---|
686440f307 | |||
c063dcd650 |
3 changed files with 10 additions and 21 deletions
|
@ -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
|
|
9
.woodpecker/validate_schema.yml
Normal file
9
.woodpecker/validate_schema.yml
Normal file
|
@ -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
|
|
@ -9,7 +9,7 @@ rev: 2024-12-03
|
||||||
Woodpecker is a simple, yet powerful CI/CD engine with great extensibility.
|
Woodpecker is a simple, yet powerful CI/CD engine with great extensibility.
|
||||||
|
|
||||||
## Workflow Syntax
|
## 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:
|
Example steps:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue