11 Commits

Author SHA1 Message Date
6543
4f535b51bf Migrate from depricated syntax to current (#60)
like https://codeberg.org/Codeberg-CI/examples/pulls/59

It addresses deprecation's upcoming in v2.8.0 now

Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/60
2024-11-21 13:57:15 +00:00
pat-s
5ffed3d2fa Add link checker and prettier (#49)
Adapted from WP main repo.

Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/49
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2024-04-10 07:16:10 +00:00
pat-s
8df9d19ef4 Linters and related fixes (#39)
- Add yamllint
- Add markdownlint
- Add precommit config
- Add editorconfig
- Rename `.yml` to `.yaml`
- Add CI workflow to enforce lint rules

Configs are taken from Woodpecker org lint rules.

Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/39
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2024-01-31 16:32:05 +00:00
mononym
cea04366c7 pdoc API documentation build and publish CI (#18)
Hi. Here’s one more Python example. It makes use of [pdoc](https://pdoc.dev) in order to generate the API documentation for python modules. The docs are then pushed on a pages branch and normally served by codeberg pages.

Co-authored-by: mononym <mononym@riseup.net>
Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/18
Reviewed-by: Patrick Schratz <pat-s@noreply.codeberg.org>
Co-authored-by: mononym <mononym@noreply.codeberg.org>
Co-committed-by: mononym <mononym@noreply.codeberg.org>
2024-01-24 12:52:26 +00:00
Kamila Borowska
32b68e6acc Version plugin-codeberg-pages-deploy (#36)
This ensures that the provided example won't use version 2 of the plugin if it were to make breaking changes.

Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/36
Reviewed-by: Patrick Schratz <pat-s@noreply.codeberg.org>
Co-authored-by: Kamila Borowska <kamila@borowska.pw>
Co-committed-by: Kamila Borowska <kamila@borowska.pw>
2024-01-01 16:10:43 +00:00
Kamila Borowska
a0ae9079ab Use plugin-codeberg-pages-deploy in mkdocs example (#35)
I've made a plugin to ease deployment of Codeberg Pages, and figured I would update one of examples to use it.

Tested that this works on https://ci.codeberg.org/repos/12946/pipeline/3.

Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/35
Reviewed-by: Patrick Schratz <pat-s@noreply.codeberg.org>
Co-authored-by: Kamila Borowska <kamila@borowska.pw>
Co-committed-by: Kamila Borowska <kamila@borowska.pw>
2023-12-30 09:49:10 +00:00
6543
5444d19d75 Update Syntax to match newest guidelines (#30)
Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/30
2023-06-09 15:43:19 +00:00
laurents
562fafda11 Add example to build and deploy mkdocs to codeberg pages (#24)
An example of pipeline which builds and deploys an `mkdocs` site to codeberg pages.

This is tested and works in https://codeberg.org/openfindata/openfindata.

Co-authored-by: Laurent Savaëte <laurent@where.tf>
Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/24
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: laurents <laurents@noreply.codeberg.org>
Co-committed-by: laurents <laurents@noreply.codeberg.org>
2023-03-14 16:28:20 +00:00
Stefano Volpe
c57333d3ac Fix some spelling/grammar mistakes in various CI examples (#17)
Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/17
Co-authored-by: Stefano Volpe <stefano.volpe2@studio.unibo.it>
Co-committed-by: Stefano Volpe <stefano.volpe2@studio.unibo.it>
2023-02-15 01:12:24 +00:00
Julian Manuel Kleber
51fc52272e Improved the Python CI for better Codequality (#12)
Add script for improved code quality

Co-authored-by: julian <julian.kleber@sail.black>
Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/12
Co-authored-by: Julian Manuel Kleber <cap_jmk@noreply.codeberg.org>
Co-committed-by: Julian Manuel Kleber <cap_jmk@noreply.codeberg.org>
2022-09-11 23:36:22 +02:00
Julian Manuel Kleber
87fc5bac1e Add a Python example (#11)
I added the Python example based on https://codeberg.org/sail.black/serial-sphinx

Co-authored-by: julian <julian.kleber@sail.black>
Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/11
Co-authored-by: Julian Manuel Kleber <cap_jmk@noreply.codeberg.org>
Co-committed-by: Julian Manuel Kleber <cap_jmk@noreply.codeberg.org>
2022-09-03 19:21:57 +02:00