mirror of
https://codeberg.org/fediverse/fediparty.git
synced 2025-03-31 11:06:19 +00:00
Fix Woodpecker config (10)
This commit is contained in:
parent
563fe75f05
commit
a1cf7d33e4
1 changed files with 2 additions and 7 deletions
|
@ -20,19 +20,14 @@ pipeline:
|
|||
|
||||
publish:
|
||||
image: alpine
|
||||
secrets: [ ssh_key ]
|
||||
secrets: [ access_token ]
|
||||
commands:
|
||||
- apk add git openssh
|
||||
# configure git
|
||||
- git checkout -b pages
|
||||
- git config --global user.email "nonexistent@example.com"
|
||||
- git config --global user.name "Codeberg CI"
|
||||
- git remote set-url origin git@codeberg.org:fediverse/fediparty.git
|
||||
- mkdir ~/.ssh
|
||||
- echo $SSH_KEY > ~/.ssh/id_ed25519
|
||||
- sha256sum ~/.ssh/id_ed25519
|
||||
- wc -c ~/.ssh/id_ed25519
|
||||
- ssh -vvv git@codeberg.org
|
||||
- git remote set-url origin https://"$${ACCESS_TOKEN}"@codeberg.org/fediverse/fediparty.git
|
||||
# deploy changes
|
||||
- git add -A
|
||||
- git commit -m "Woodpecker build ${CI_COMMIT_SHA}"
|
||||
|
|
Loading…
Add table
Reference in a new issue