ci: Add Jenkins build+publish pipeline
This commit is contained in:
7
publish.sh
Normal file
7
publish.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
: "${PUBLISH_HOST:=$(getent hosts pxe.pyrocufflink.blue | cut -d' ' -f2 | head -n1)}"
|
||||
: "${PUBLISH_PATH:=/var/www/html/kickstart/}"
|
||||
|
||||
ssh "${PUBLISH_HOST}" mkdir -p "${PUBLISH_PATH}"
|
||||
rsync ${PRETEND+-n} -aiFF --delete ./ "${PUBLISH_HOST}:${PUBLISH_PATH}"
|
||||
Reference in New Issue
Block a user