Update woodpecker config
This commit is contained in:
parent
8a0c213c09
commit
2a99784bfb
1 changed files with 6 additions and 0 deletions
|
|
@ -10,6 +10,8 @@ clone:
|
|||
steps:
|
||||
build-and-publish:
|
||||
image: node:20-alpine
|
||||
secrets:
|
||||
- CODEBERG_SSH_KEY
|
||||
commands:
|
||||
- apk add git
|
||||
- corepack enable
|
||||
|
|
@ -24,4 +26,8 @@ steps:
|
|||
EOL
|
||||
- git config --global user.email "woodpecker@bot.net"
|
||||
- git config --global user.name "woodpecker-bot"
|
||||
- mkdir -p $HOME/.ssh
|
||||
- ssh-keyscan -t rsa codeberg.org >> $HOME/.ssh/known_hosts
|
||||
- echo "$CODEBERG_SSH_KEY" > $HOME/.ssh/id_rsa
|
||||
- chmod 0600 $HOME/.ssh/id_rsa
|
||||
- pnpm run push-to-pages
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue