1 Star 0 Fork 0

Jeff/space

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
uniheart-stackbit-build.sh 711 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/usr/bin/env bash
set -e
set -o pipefail
set -v
curl -s -X POST https://api.stackbit.com/project/5e66132d688f7500194fdd6a/webhook/build/pull > /dev/null
if [[ -z "${UNI_HEART_STACKBIT_API_KEY}" ]]; then
echo "WARNING: No UNI_HEART_STACKBIT_API_KEY environment variable set, skipping stackbit-pull"
else
export STACKBIT_API_KEY=$UNI_HEART_STACKBIT_API_KEY
npx @stackbit/stackbit-pull --stackbit-pull-api-url=https://api.stackbit.com/pull/5e66132d688f7500194fdd6a
fi
curl -s -X POST https://api.stackbit.com/project/5e66132d688f7500194fdd6a/webhook/build/ssgbuild > /dev/null
gatsby build
curl -s -X POST https://api.stackbit.com/project/5e66132d688f7500194fdd6a/webhook/build/publish > /dev/null
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
NodeJS
1
https://gitee.com/zizhujy/space.git
[email protected]:zizhujy/space.git
zizhujy
space
space
master

搜索帮助