This commit is contained in:
parent
3886aa8c6a
commit
ca1d93a443
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user