mirror of
https://codeberg.org/openpgp/notes.git
synced 2025-12-05 05:01:07 +01:00
Update CI config (fixes secrets handling)
This fixes new constraints that codeberg's woodpecker CI enforces
This commit is contained in:
parent
ee3f4a439d
commit
3ec4661835
1 changed files with 9 additions and 3 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
pages:
|
pages:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx:6.0.2
|
||||||
settings:
|
settings:
|
||||||
output: type=local,dest=public
|
output: type=local,dest=public
|
||||||
# do not push, push cannot be used with output simultaneously anyway
|
# do not push, push cannot be used with output simultaneously anyway
|
||||||
|
|
@ -11,10 +11,14 @@ steps:
|
||||||
# do not refresh image
|
# do not refresh image
|
||||||
pull_image: false
|
pull_image: false
|
||||||
purge: false
|
purge: false
|
||||||
|
when:
|
||||||
|
event: push
|
||||||
|
|
||||||
pages-pr-preview:
|
pages-pr-preview:
|
||||||
image: bitnami/git
|
image: bitnami/git
|
||||||
secrets: [ codeberg_token ]
|
environment:
|
||||||
|
CODEBERG_TOKEN:
|
||||||
|
from_secret: codeberg_token
|
||||||
commands:
|
commands:
|
||||||
- git config --global user.email heiko.schaefer+boiler@posteo.de
|
- git config --global user.email heiko.schaefer+boiler@posteo.de
|
||||||
- git config --global user.name "Page Renderer"
|
- git config --global user.name "Page Renderer"
|
||||||
|
|
@ -35,7 +39,9 @@ steps:
|
||||||
|
|
||||||
pages-publish:
|
pages-publish:
|
||||||
image: bitnami/git
|
image: bitnami/git
|
||||||
secrets: [ codeberg_token ]
|
environment:
|
||||||
|
CODEBERG_TOKEN:
|
||||||
|
from_secret: codeberg_token
|
||||||
commands:
|
commands:
|
||||||
- git config --global user.email heiko.schaefer+boiler@posteo.de
|
- git config --global user.email heiko.schaefer+boiler@posteo.de
|
||||||
- git config --global user.name "Page Renderer"
|
- git config --global user.name "Page Renderer"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue