Skip to content

Commit d4f86ab

Browse files
committed
working on web demo
1 parent fb000d8 commit d4f86ab

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/carts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ jobs:
135135
mkdir -p _site/carts/
136136
cp -r demo/* _site/
137137
cp -r artifacts/**/*.null0 _site/carts/
138-
ls _site/carts/*.null0 > _site/carts/carts.txt
138+
cd _site/carts/ && ls *.null0 > carts.txt
139139
- name: Upload Pages artifact
140140
uses: actions/upload-pages-artifact@v3
141141
with:

demo/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
</script>
3535
<script type="module">
3636
// get list of carts
37-
const carts = await fetch("carts/carts/txt")
37+
const carts = await fetch("carts/carts.txt")
3838
.then((r) => r.text())
3939
.then((t) => t.trim().split("\n"));
4040
console.log(carts);

0 commit comments

Comments
 (0)