Skip to content

Commit f2df4a1

Browse files
authored
fix load scripts (#2)
* fix load scripts * cloudflare
1 parent f556868 commit f2df4a1

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.cloudflare/pages.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"$schema": "https://developers.cloudflare.com/pages/platform/pages-json-schema.json",
33
"build": {
4-
"command": "npm run build",
4+
"command": "npm install && npm run build",
55
"cwd": "docs",
6-
"destination_dir": "build"
6+
"destination_dir": "docs/build"
77
}
88
}

CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ uv run infrahubctl object load data/bootstrap --branch main
4444
uv run infrahubctl object load data/security/ --branch main
4545

4646
# Add demo repository
47-
uv run infrahubctl repository add DEMO https://github.com/petercrocker/infrahub-demo.git --read-only
47+
uv run infrahubctl repository add DEMO https://github.com/opsmill/infrahub-demo.git --read-only
4848

4949
# Load event actions (optional)
5050
uv run infrahubctl object load data/events/ --branch main
@@ -261,7 +261,7 @@ uv run infrahubctl object load data/bootstrap
261261
uv run infrahubctl object load data/security/
262262
263263
# 6. Add repository
264-
uv run infrahubctl repository add DEMO https://github.com/petercrocker/infrahub-demo.git --read-only
264+
uv run infrahubctl repository add DEMO https://github.com/opsmill/infrahub-demo.git --read-only
265265
266266
# 7. Load event actions (optional)
267267
uv run infrahubctl object load data/events/

scripts/bootstrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ echo "Load security data"
1414
uv run infrahubctl object load data/security/ --branch $BRANCH
1515

1616
echo "Add demo repository"
17-
uv run infrahubctl repository add DEMO https://github.com/petercrocker/infrahub-demo.git --ref main --read-only
17+
uv run infrahubctl repository add DEMO https://github.com/opsmill/infrahub-demo.git --ref main --read-only
1818

1919
echo "Add event actions"
2020
sleep 15

scripts/repo.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
echo "Add demo repository"
2-
uv run infrahubctl repository add DEMO https://github.com/petercrocker/infrahub-demo.git --ref main --read-only
2+
uv run infrahubctl repository add DEMO https://github.com/opsmill/infrahub-demo.git --ref main --read-only

0 commit comments

Comments
 (0)