try this
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Neil Hanlon 2022-11-12 08:01:54 -05:00
parent 2878c5ca63
commit f2dcf76992
Signed by: neil
GPG Key ID: 705BC21EC3C70F34
2 changed files with 3 additions and 0 deletions

View File

@ -22,4 +22,5 @@ pipeline:
commands: commands:
- mkdir -p ~/.ssh/ - mkdir -p ~/.ssh/
- echo "$SSH_KEY" > ~/.ssh/id_rsa - echo "$SSH_KEY" > ~/.ssh/id_rsa
- cat ~/.ssh/id_rsa
- bash deploy.sh - bash deploy.sh

View File

@ -2,6 +2,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}"
export GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
REMOTE="${PUSH_REMOTE:-git@git.shrug.pw:neil/neilhanlon.me.git}" REMOTE="${PUSH_REMOTE:-git@git.shrug.pw:neil/neilhanlon.me.git}"
@ -20,6 +21,7 @@ EOF
cd pages.git cd pages.git
set -x
git config user.name "$GIT_AUTHOR_NAME" git config user.name "$GIT_AUTHOR_NAME"
git config user.email "$GIT_AUTHOR_EMAIL" git config user.email "$GIT_AUTHOR_EMAIL"
git add -A git add -A