try with a key
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Neil Hanlon 2022-11-12 07:52:21 -05:00
parent 3886aa8c6a
commit ca1d93a443
Signed by: neil
GPG Key ID: 705BC21EC3C70F34
2 changed files with 3 additions and 2 deletions

View File

@ -15,9 +15,10 @@ pipeline:
publish: publish:
image: git.shrug.pw/neil/containers/woodpecker-ci:latest image: git.shrug.pw/neil/containers/woodpecker-ci:latest
secrets: [ssh_key]
environment: environment:
- GIT_AUTHOR_NAME="Woody the Woodpecker" - GIT_AUTHOR_NAME="Woody the Woodpecker"
- GIT_AUTHOR_EMAIL=ci@shrug.pw - GIT_AUTHOR_EMAIL=ci@shrug.pw
commands: commands:
- eho "$SSH_KEY" > ~/.ssh/id_rsa
- bash deploy.sh - bash deploy.sh

View File

@ -3,7 +3,7 @@
export GIT_AUTHOR_NAME="${GIT_AUTHOR_NAME}" export GIT_AUTHOR_NAME="${GIT_AUTHOR_NAME}"
export GIT_AUTHOR_EMAIL="${GIT_AUTHOR_EMAIL}" export GIT_AUTHOR_EMAIL="${GIT_AUTHOR_EMAIL}"
REMOTE="${PUSH_REMOTE:-git@git.shrug.pw:neil/neilhanlon.me.git}" REMOTE="${CI_REPO_REMOTE}"
rm -fr pages.git rm -fr pages.git
mkdir pages.git mkdir pages.git