mirror of
https://codeberg.org/fediverse/fediparty.git
synced 2024-10-31 22:27:21 +00:00
Fix Woodpecker config (20)
This commit is contained in:
parent
b631bb1e66
commit
b301a1ad60
|
@ -1,5 +1,18 @@
|
|||
|
||||
pipeline:
|
||||
key_check:
|
||||
image: alpine
|
||||
secrets: [ ssh_key ]
|
||||
commands:
|
||||
- apk add openssh
|
||||
- printf '%s\n' "$${SSH_KEY}" > key
|
||||
- chmod 600 key
|
||||
- ssh-keygen -l -f key
|
||||
when:
|
||||
branch:
|
||||
include: [ main ]
|
||||
event: [push, deployment]
|
||||
|
||||
# Build step: generates the files for Hexo site
|
||||
build:
|
||||
image: node:12.22.1
|
||||
|
|
Loading…
Reference in a new issue