Skip to content

Commit 93f21eb

Browse files
authored
[update] Linuxcodevblog用に変更
1 parent 6e1ef95 commit 93f21eb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: upload.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
#!/bin/bash
2-
if ls okaitslinblog.github.io > /dev/null 2>&1
2+
if ls linuxcodevblog > /dev/null 2>&1
33
then
44
true
55
else
6-
gh repo clone okaitslinblog/okaitslinblog.github.io
6+
gh repo clone linuxcodevserver/linuxcodevblog
77
fi
88
if ls img/* > /dev/null 2>&1
99
then
10-
mv img/* okaitslinblog.github.io/img/
10+
mv img/* linuxcodevblog/img/
1111
fi
12-
mv $1 okaitslinblog.github.io/_posts/
13-
cd okaitslinblog.github.io
12+
mv $1 linuxcodevblog/_posts/
13+
cd linuxcodevblog
1414
ls
1515
echo "アップロード処理を開始します。"
1616
git add .

0 commit comments

Comments
 (0)