From 433a784da943c36df5662ad99c32fbc38ea0ffd5 Mon Sep 17 00:00:00 2001 From: JaCoderX Date: Sun, 9 Mar 2025 23:05:58 +0200 Subject: [PATCH 1/5] update for cloudflare access --- .gitmodules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitmodules b/.gitmodules index 7c74c14..5f477f6 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "src/particle-core"] path = src/particle-core - url = https://github.com/PracticalParticle/particle-abstraction-contracts.git + url = git@github.com:PracticalParticle/sand-blox.git From b26b4acda034221448a9d297e3eccdca76ff89d2 Mon Sep 17 00:00:00 2001 From: JaCoderX Date: Mon, 10 Mar 2025 00:23:07 +0200 Subject: [PATCH 2/5] Create cloudflare.pages.sh --- cloudflare.pages.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 cloudflare.pages.sh diff --git a/cloudflare.pages.sh b/cloudflare.pages.sh new file mode 100644 index 0000000..e69de29 From 6073aade2bfdc991cda291cf33c6fa9def422dc7 Mon Sep 17 00:00:00 2001 From: JaCoderX Date: Mon, 10 Mar 2025 00:29:16 +0200 Subject: [PATCH 3/5] Update particle-core --- src/particle-core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/particle-core b/src/particle-core index dc24e88..91fcb3a 160000 --- a/src/particle-core +++ b/src/particle-core @@ -1 +1 @@ -Subproject commit dc24e88a23094b47c96a495848d51ec0dc392206 +Subproject commit 91fcb3a19bb2712bddc930857958db4e3d4c8f7c From ce67f01f775563ddce511cfe2255538d6fd7244d Mon Sep 17 00:00:00 2001 From: JaCoderX Date: Mon, 10 Mar 2025 00:33:05 +0200 Subject: [PATCH 4/5] cloudflare deployment --- .gitmodules | 2 +- cloudflare.pages.sh | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.gitmodules b/.gitmodules index 5f477f6..e0dc0a6 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "src/particle-core"] path = src/particle-core - url = git@github.com:PracticalParticle/sand-blox.git + url = git@github.com:PracticalParticle/particle-abstraction-contracts.git diff --git a/cloudflare.pages.sh b/cloudflare.pages.sh index e69de29..5f44476 100644 --- a/cloudflare.pages.sh +++ b/cloudflare.pages.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +# Configure SSH for submodules +mkdir -p ~/.ssh +echo "$SSH_KEY" > ~/.ssh/id_rsa +chmod 600 ~/.ssh/id_rsa +ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts + +# Configure git to use SSH instead of HTTPS +git config --global url."git@github.com:".insteadOf "https://github.com/" + +# Update and initialize submodules +git submodule update --init --recursive + +# Build the project +npm run build \ No newline at end of file From 41d88c58c857a74ad2e7c67de10c9948f80a4c59 Mon Sep 17 00:00:00 2001 From: JaCoderX Date: Mon, 10 Mar 2025 14:56:58 +0200 Subject: [PATCH 5/5] Update particle-core --- src/particle-core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/particle-core b/src/particle-core index 91fcb3a..d02569c 160000 --- a/src/particle-core +++ b/src/particle-core @@ -1 +1 @@ -Subproject commit 91fcb3a19bb2712bddc930857958db4e3d4c8f7c +Subproject commit d02569cb28bb73171c26552c344f2311d78734a9