Skip to content

Commit aa100bb

Browse files
committed
🎉 fix zoe-site.sh
1 parent ecba9e5 commit aa100bb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
node-version: 12.x
2323
cache: 'npm'
24-
- run: cd _example && bash ../hack/zoe-site.sh
24+
- run: cd _example && node ../hack/zoe-site.js
2525
- name: GH Pages deploy
2626
uses: Cecilapp/[email protected]
2727
env:

hack/zoe-site.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ branch="master"
55
script="hack/zoe-site.js"
66
target="/tmp/zoe-site"
77

8-
if [ -d target ]; then mkdir -p $target; fi
8+
if [ ! -d $target ]; then mkdir -p $target; fi
99

1010
curl -sSL https://raw.githubusercontent.com/$theme/$branch/$script \
1111
> $target/zoe-site.js
1212

1313
# start the main
14-
node /tmp/zoe-site/zoe-site.js $@
14+
node $target/zoe-site.js $@

0 commit comments

Comments
 (0)