forked from Outils-PeerTube/peertube-plugin-auto-import-ytb
Add a script to deploy the plugin with a tmp folder
This commit is contained in:
1 parent
1ac4a21d2d
commit
53a5e56cda
3 files changed
+20
-2
No files matched your search
@@ -0,0 +1,12 @@
|
||||
tmp_dir=$(mktemp -d)/peertube-plugin-auto-import-ytb/
|
||||
work_dir=$(pwd)/
|
||||
# echo $work_dir
|
||||
|
||||
mkdir $tmp_dir
|
||||
# echo "directory created"
|
||||
rsync --exclude-from=$work_dir.rsyncignore $work_dir $tmp_dir -ar
|
||||
# echo "rsync --exclude-from=$work_dir.rsyncignore $work_dir $tmp_dir"
|
||||
# echo "rsync done"
|
||||
cd ../PeerTube
|
||||
node ./dist/server/tools/peertube.js plugins install --path $tmp_dir
|
||||
# echo $tmp_dir
|
||||
Reference in new issue
Block a user