File tree Expand file tree Collapse file tree 3 files changed +55
-1
lines changed
Expand file tree Collapse file tree 3 files changed +55
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Pages
2+
3+ on :
4+ workflow_dispatch :
5+
6+ permissions :
7+ contents : read
8+ pages : write
9+ id-token : write
10+
11+ concurrency :
12+ group : " page"
13+ cancel-in-progress : true
14+
15+ env :
16+ TURSO_DB_URL : " libsql://zig-jiacai2050.turso.io"
17+ TURSO_TOKEN : " ${{ secrets.TURSO_TOKEN }}"
18+ GITHUB_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
19+
20+ jobs :
21+ build :
22+ timeout-minutes : 10
23+ runs-on : ubuntu-latest
24+ steps :
25+ - uses : actions/checkout@v4
26+ - name : Cache Crates
27+ uses : actions/cache@v3
28+ with :
29+ path : |
30+ ~/.cargo
31+ key : ${{ runner.os }}
32+ - run : |
33+ # https://github.com/wilsonzlin/minify-html
34+ cargo install minhtml
35+ npm i
36+ - run : |
37+ npm run gen-html
38+ minhtml --output web/index.html --keep-closing-tags --minify-css web/raw.html
39+ - name : Upload artifact
40+ uses : actions/upload-pages-artifact@v2
41+ with :
42+ path : web
43+
44+ deploy :
45+ environment :
46+ name : github-pages
47+ url : ${{ steps.deployment.outputs.page_url }}
48+ runs-on : ubuntu-latest
49+ needs : build
50+ steps :
51+ - name : Deploy to GitHub Pages
52+ id : deployment
53+ uses : actions/deploy-pages@v3
Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ limit 1000
204204
205205 const idsToShow = [
206206 '25' , // 0.13.0
207- '23' , // 0.12.0
207+ // '23', // 0.12.0
208208 // '20', // '0.14.0',
209209 // '19', // '0.15.0',
210210 ] ;
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ const commonChartOpts = {
2323 boundaryGap : false ,
2424 } ,
2525 yAxis : {
26+ scale : true ,
2627 type : 'value'
2728 } ,
2829 dataZoom : [ {
You can’t perform that action at this time.
0 commit comments