Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7dea6e7

Browse files
stackbit-projectsstackbit-support
authored andcommittedJun 24, 2020
Update configuration
1 parent 400c6d8 commit 7dea6e7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
 

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Stackbit Libris Theme original README is located [here](./README.theme.md).
2020

2121
1. run the following command to fetch additional site contents from Stackbit if needed:
2222

23-
npx @stackbit/stackbit-pull --stackbit-pull-api-url=__STACKBIT_PULL_API_URL__
23+
npx @stackbit/stackbit-pull --stackbit-pull-api-url=https://api.stackbit.com/pull/5ef2ce965ad8d00019477dec
2424

2525
1. Starts a development server
2626

‎stackbit-build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ set -e
44
set -o pipefail
55
set -v
66

7-
curl -s -X POST __STACKBIT_WEBHOOK_URL__/pull > /dev/null
7+
curl -s -X POST https://api.stackbit.com/project/5ef2ce965ad8d00019477dec/webhook/build/pull > /dev/null
88
if [[ -z "${STACKBIT_API_KEY}" ]]; then
99
echo "WARNING: No STACKBIT_API_KEY environment variable set, skipping stackbit-pull"
1010
else
11-
npx @stackbit/stackbit-pull --stackbit-pull-api-url=__STACKBIT_PULL_API_URL__
11+
npx @stackbit/stackbit-pull --stackbit-pull-api-url=https://api.stackbit.com/pull/5ef2ce965ad8d00019477dec
1212
fi
13-
curl -s -X POST __STACKBIT_WEBHOOK_URL__/ssgbuild > /dev/null
13+
curl -s -X POST https://api.stackbit.com/project/5ef2ce965ad8d00019477dec/webhook/build/ssgbuild > /dev/null
1414
gatsby build
15-
curl -s -X POST __STACKBIT_WEBHOOK_URL__/publish > /dev/null
15+
curl -s -X POST https://api.stackbit.com/project/5ef2ce965ad8d00019477dec/webhook/build/publish > /dev/null

0 commit comments

Comments
 (0)
Please sign in to comment.