Adding woodpecker build
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2022-11-09 16:14:14 -05:00
parent ea40719c4d
commit 98770dbcef
4 changed files with 25 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
pipeline:
build:
image: jbrechtel/zola:latest
commands:
- "zola build"
deploy:
image: jbrechtel/rsync:latest
commands:
- ./ci-deploy
secrets: [ DEPLOY_USER, DEPLOY_PATH, DEPLOY_HOST, DEPLOY_PASSWORD ]
Executable
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
mkdir -p $HOME/.ssh
ssh-keyscan -t rsa $DEPLOY_HOST >> $HOME/.ssh/known_hosts
chown -R $(whoami) .
sshpass -p "$DEPLOY_PASSWORD" \
rsync -avzrO \
-e 'ssh -o "StrictHostKeyChecking no"' \
./public/ $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_PATH
+2
View File
@@ -2,3 +2,5 @@
title = "About"
path = "about"
+++
Bikes, Hikes, Haskell
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/sh
docker run --rm -it \
docker run --rm \
-v $PWD:/app \
--workdir /app \
-p 1024:1024 \