mirror of
https://github.com/PeWu/topola-viewer.git
synced 2025-12-23 18:50:04 +00:00
Deploy to wikitree using password from env variable
This commit is contained in:
parent
3c26bd7956
commit
543a910c2f
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo Password:
|
||||
lftp sftp://wiech13@apps.wikitree.com << EOF
|
||||
echo Copying files...
|
||||
lftp --env-password sftp://wiech13@apps.wikitree.com << EOF
|
||||
mkdir www/topola-viewer.new
|
||||
mirror -R build/ www/topola-viewer.new/
|
||||
rm -r www/topola-viewer.old
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user