We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb000d8 commit d4f86abCopy full SHA for d4f86ab
2 files changed
.github/workflows/carts.yml
@@ -135,7 +135,7 @@ jobs:
135
mkdir -p _site/carts/
136
cp -r demo/* _site/
137
cp -r artifacts/**/*.null0 _site/carts/
138
- ls _site/carts/*.null0 > _site/carts/carts.txt
+ cd _site/carts/ && ls *.null0 > carts.txt
139
- name: Upload Pages artifact
140
uses: actions/upload-pages-artifact@v3
141
with:
demo/index.html
@@ -34,7 +34,7 @@
34
</script>
35
<script type="module">
36
// get list of carts
37
- const carts = await fetch("carts/carts/txt")
+ const carts = await fetch("carts/carts.txt")
38
.then((r) => r.text())
39
.then((t) => t.trim().split("\n"));
40
console.log(carts);
0 commit comments