File tree Expand file tree Collapse file tree 2 files changed +13
-10
lines changed Expand file tree Collapse file tree 2 files changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -10,19 +10,21 @@ jobs:
10
10
runs-on : ubuntu-18.04
11
11
steps :
12
12
- uses : actions/checkout@v2
13
+ with :
14
+ fetch-depth : 0
13
15
14
16
- name : Setup deno
15
17
uses : denolib/setup-deno@v2
16
18
with :
17
- deno-version : v1.2.3
19
+ deno-version : v1.5.2
18
20
19
21
- name : Build gh-pages
20
22
run : |
21
23
curl -fsSL https://deno.land/x/install/install.sh | sh
22
24
export DENO_INSTALL="/home/runner/.deno"
23
25
export PATH="$DENO_INSTALL/bin:$PATH"
24
26
deno --version
25
- deno install --unstable --allow-read --allow-write --allow-net -n pagic https://deno.land/x/pagic@v0.8.4 /mod.ts
27
+ deno install --unstable --allow-read --allow-write --allow-net --allow-run - n pagic https://deno.land/x/pagic@v1.0.0-alpha.1 /mod.ts
26
28
pagic build
27
29
28
30
- name : Deploy gh-pages
Original file line number Diff line number Diff line change 1
- // @deno -types="https://deno.land/x/[email protected] /src/types/react/v16.13.1/react.d.ts"
2
- import React from 'https://dev.jspm.io/[email protected] ' ;
1
+ import { React } from 'https://deno.land/x/pagic/mod.ts' ;
3
2
4
3
export default {
5
4
srcDir : '.' ,
@@ -70,7 +69,7 @@ export default {
70
69
]
71
70
} ,
72
71
tools : {
73
- editOnGithub : true ,
72
+ editOnGitHub : true ,
74
73
backToTop : true
75
74
} ,
76
75
tocAd : (
@@ -79,12 +78,14 @@ export default {
79
78
__html : `
80
79
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
81
80
<!-- 192*128 -->
82
- <ins class="adsbygoogle"
83
- style="display:inline-block;width:192px;height:128px"
84
- data-ad-client="ca-pub-8483371329009107"
85
- data-ad-slot="6487368873"></ins>
81
+ <ins
82
+ class="adsbygoogle"
83
+ style="display:inline-block;width:192px;height:128px"
84
+ data-ad-client="ca-pub-8483371329009107"
85
+ data-ad-slot="6487368873"
86
+ ></ins>
86
87
<script>
87
- (adsbygoogle = window.adsbygoogle || []).push({});
88
+ (adsbygoogle = window.adsbygoogle || []).push({});
88
89
</script>`
89
90
} }
90
91
/>
You can’t perform that action at this time.
0 commit comments