1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/rainoffallingstar-rainoffallingstar

Клонировать/Скачать
blog.sh 430
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
tym Отправлено 04.09.2021 18:27 a4d4304
#!/bin/bash
if test "$1" = "run"; then
port=8080
if [ $2 ]; then
port=$2
fi
bundle exec jekyll serve --watch --host=0.0.0.0 --port=$port
elif test "$1" = "build"; then
bundle exec jekyll build --destination=dist
elif test "$1" = "deploy"; then
bundle exec jekyll build --destination=dist
cos-upload local:./dist blog:/
curl -fL -u freshCDN "https://scf.page404.cn/test/freshCDN/"
else
echo "error param"
fi

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/rainoffallingstar-rainoffallingstar.git
git@api.gitlife.ru:oschina-mirror/rainoffallingstar-rainoffallingstar.git
oschina-mirror
rainoffallingstar-rainoffallingstar
rainoffallingstar-rainoffallingstar
mydraft