We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecba9e5 commit aa100bbCopy full SHA for aa100bb
.github/workflows/build-deploy.yml
@@ -21,7 +21,7 @@ jobs:
21
with:
22
node-version: 12.x
23
cache: 'npm'
24
- - run: cd _example && bash ../hack/zoe-site.sh
+ - run: cd _example && node ../hack/zoe-site.js
25
- name: GH Pages deploy
26
uses: Cecilapp/[email protected]
27
env:
hack/zoe-site.sh
@@ -5,10 +5,10 @@ branch="master"
5
script="hack/zoe-site.js"
6
target="/tmp/zoe-site"
7
8
-if [ -d target ]; then mkdir -p $target; fi
+if [ ! -d $target ]; then mkdir -p $target; fi
9
10
curl -sSL https://raw.githubusercontent.com/$theme/$branch/$script \
11
> $target/zoe-site.js
12
13
# start the main
14
-node /tmp/zoe-site/zoe-site.js $@
+node $target/zoe-site.js $@
0 commit comments