Skip to content

Commit 8a8dda4

Browse files
committed
fix: ci
1 parent 967847a commit 8a8dda4

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/gh-pages.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,17 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v2
1313

14-
- name: Build
14+
- name: Setup deno
15+
uses: denolib/setup-deno@v2
16+
with:
17+
deno-version: v1.2.3
18+
19+
- name: Build gh-pages
1520
run: |
16-
curl -fsSL https://deno.land/x/install/install.sh | sh
17-
export DENO_INSTALL="/home/runner/.deno"
18-
export PATH="$DENO_INSTALL/bin:$PATH"
19-
deno --version
2021
deno install --unstable --allow-read --allow-write --allow-net -n pagic https://deno.land/x/pagic@v0.8.4/mod.ts
2122
pagic build
2223
23-
- name: Deploy
24+
- name: Deploy gh-pages
2425
uses: peaceiris/actions-gh-pages@v3
2526
with:
2627
github_token: ${{ secrets.GITHUB_TOKEN }}

pagic.config.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// @deno-types="https://deno.land/x/types/react/v16.13.1/react.d.ts"
1+
// @deno-types="https://deno.land/x/pagic@v0.8.4/src/types/react/v16.13.1/react.d.ts"
22
import React from 'https://dev.jspm.io/react@16.13.1';
33

44
export default {

0 commit comments

Comments
 (0)