fix: use public SharedCode clone URL
This commit is contained in:
1 parent
d9d31bc921
commit
b2ffa39148
7 files changed
+9
-9
No files matched your search
@@ -37,7 +37,7 @@ jobs:
|
||||
run: |
|
||||
for attempt in 1 2 3 4 5; do
|
||||
rm -rf SharedCode
|
||||
if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode.git SharedCode; then
|
||||
if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode SharedCode; then
|
||||
break
|
||||
fi
|
||||
if [ "$attempt" -eq 5 ]; then
|
||||
|
||||
@@ -38,7 +38,7 @@ jobs:
|
||||
run: |
|
||||
for attempt in 1 2 3 4 5; do
|
||||
rm -rf SharedCode
|
||||
if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode.git SharedCode; then
|
||||
if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode SharedCode; then
|
||||
break
|
||||
fi
|
||||
if [ "$attempt" -eq 5 ]; then
|
||||
|
||||
@@ -38,7 +38,7 @@ jobs:
|
||||
run: |
|
||||
for attempt in 1 2 3 4 5; do
|
||||
rm -rf SharedCode
|
||||
if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode.git SharedCode; then
|
||||
if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode SharedCode; then
|
||||
break
|
||||
fi
|
||||
if [ "$attempt" -eq 5 ]; then
|
||||
@@ -77,7 +77,7 @@ jobs:
|
||||
run: |
|
||||
for attempt in 1 2 3 4 5; do
|
||||
rm -rf SharedCode
|
||||
if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode.git SharedCode; then
|
||||
if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode SharedCode; then
|
||||
break
|
||||
fi
|
||||
if [ "$attempt" -eq 5 ]; then
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
[submodule "SharedCode"]
|
||||
path = SharedCode
|
||||
url = https://repos.gfranz.ch/Gabriel20xx/SharedCode.git
|
||||
url = https://repos.gfranz.ch/Gabriel20xx/SharedCode
|
||||
branch = main
|
||||
+1
-1
@@ -3,7 +3,7 @@ RUN apk add --no-cache git
|
||||
WORKDIR /frontend
|
||||
COPY frontend/package*.json ./
|
||||
RUN --mount=type=bind,source=SharedCode.git,target=/tmp/SharedCode.git,readonly \
|
||||
git config --global url."file:///tmp/SharedCode.git".insteadOf "https://repos.gfranz.ch/Gabriel20xx/SharedCode.git" && \
|
||||
git config --global url."file:///tmp/SharedCode.git".insteadOf "https://repos.gfranz.ch/Gabriel20xx/SharedCode" && \
|
||||
for attempt in 1 2 3 4 5; do \
|
||||
npm ci && break; \
|
||||
if [ "$attempt" -eq 5 ]; then exit 1; fi; \
|
||||
|
||||
Generated
+2
-2
@@ -8,7 +8,7 @@
|
||||
"name": "collabtable-server-frontend",
|
||||
"version": "1.0.0",
|
||||
"dependencies": {
|
||||
"@gabriel20xx/shared-code": "git+https://repos.gfranz.ch/Gabriel20xx/SharedCode.git#main",
|
||||
"@gabriel20xx/shared-code": "git+https://repos.gfranz.ch/Gabriel20xx/SharedCode#main",
|
||||
"@lucide/svelte": "latest",
|
||||
"@tanstack/svelte-query": "latest",
|
||||
"bits-ui": "latest",
|
||||
@@ -220,7 +220,7 @@
|
||||
},
|
||||
"node_modules/@gabriel20xx/shared-code": {
|
||||
"version": "0.1.0",
|
||||
"resolved": "git+https://repos.gfranz.ch/Gabriel20xx/SharedCode.git#main",
|
||||
"resolved": "git+https://repos.gfranz.ch/Gabriel20xx/SharedCode#main",
|
||||
"license": "MIT",
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
"vite": "latest"
|
||||
},
|
||||
"dependencies": {
|
||||
"@gabriel20xx/shared-code": "git+https://repos.gfranz.ch/Gabriel20xx/SharedCode.git#main",
|
||||
"@gabriel20xx/shared-code": "git+https://repos.gfranz.ch/Gabriel20xx/SharedCode#main",
|
||||
"@lucide/svelte": "latest",
|
||||
"@tanstack/svelte-query": "latest",
|
||||
"bits-ui": "latest",
|
||||
|
||||
Reference in new issue
Block a user