ci: rsync dist/ over to the live server
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
this is a quick&dirty solution to update the live server whenever a git tag on master matching v* pattern is pushed. a longer term permanent idea is to use a nostr relay to push notifications about new releases.pull/13/head
parent
6b72fb8205
commit
5de7d8c485
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
printenv RELEASER_SSH_KEY > .sshkey
|
||||
chmod 0600 .sshkey
|
||||
sshcmd='ssh -i .sshkey -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
|
||||
exec rsync -vrz -e "$sshcmd" dist/* nostrreleaser@nostr.ch:/var/www/nostr/
|
Loading…
Reference in New Issue