Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0bb2b87

Browse files
committed
Update ci
1 parent aafa534 commit 0bb2b87

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/gh-pages.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,14 @@ jobs:
1616
with:
1717
deno-version: v1.2.3
1818

19-
- name: Install pagic
20-
run: deno install --unstable --allow-read --allow-write --allow-net -n pagic https://deno.land/x/[email protected]/mod.ts
21-
2219
- name: Build gh-pages
23-
run: pagic build
20+
run: |
21+
curl -fsSL https://deno.land/x/install/install.sh | sh
22+
export DENO_INSTALL="/home/runner/.deno"
23+
export PATH="$DENO_INSTALL/bin:$PATH"
24+
deno --version
25+
deno install --unstable --allow-read --allow-write --allow-net -n pagic https://deno.land/x/[email protected]/mod.ts
26+
pagic build
2427
2528
- name: Deploy gh-pages
2629
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)