Spaces:
Build error
Build error
Update upload.sh
Browse files
upload.sh
CHANGED
@@ -31,8 +31,6 @@ git add .gitattributes
|
|
31 |
# 既存内容を削除(.git を除く)
|
32 |
find . -mindepth 1 -maxdepth 1 ! -name ".git" -exec rm -rf {} +
|
33 |
|
34 |
-
# コピー元(dist)パス
|
35 |
-
SRC_DIR=$(pwd)/dist
|
36 |
|
37 |
# dist フォルダの中身をすべてコピー
|
38 |
rsync -av "$SRC_DIR/" "$WORK_DIR/"
|
|
|
31 |
# 既存内容を削除(.git を除く)
|
32 |
find . -mindepth 1 -maxdepth 1 ! -name ".git" -exec rm -rf {} +
|
33 |
|
|
|
|
|
34 |
|
35 |
# dist フォルダの中身をすべてコピー
|
36 |
rsync -av "$SRC_DIR/" "$WORK_DIR/"
|