initial commit
All checks were successful
ci/woodpecker/push/drone Pipeline was successful

This commit is contained in:
2023-03-31 01:45:25 -05:00
commit 70749c454f
3 changed files with 18 additions and 0 deletions

9
run Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/sh
SOURCE=${PLUGIN_SOURCE:-.}
TARGET=$PLUGIN_TARGET
mkdir /tmp/deploy
cp -Rv $SOURCE /tmp/deploy
echo "$DEPLOY_KEY" > /tmp/deploy.rsa
chmod 0600 /tmp/deploy.rsa
scp -i /tmp/deploy.rsa -o StrictHostKeyChecking=no -r /tmp/deploy/* $TARGET