Skip to content

Commit b3544cd

Browse files
committed
chore: update .github/workflows/ci.yml
1 parent 4b0d77b commit b3544cd

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/ci.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- run: cp -r reset.* ./build
2121

2222
- run: npm i markdown-to-html-cli -g
23-
- run: markdown-to-html --output build/index.html --favicon 'data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>💅</text></svg>'
23+
- run: markdown-to-html --output build/doc.html --favicon 'data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>💅</text></svg>'
2424

2525
- name: Create Index.html
2626
working-directory: build
@@ -31,8 +31,13 @@ jobs:
3131
<title>reset-css</title>
3232
<meta name="description" content="A tiny modern CSS reset.">
3333
<link rel="stylesheet" type="text/css" href="reset.min.css" />
34+
<style>
35+
.docbtn { background: #2196f3; display: inline-block; padding: 5px 12px; color: #fff; border-radius: 2px; transition: all 0.3s; position: fixed; left: 10px; top: 10px; }
36+
.docbtn:hover { background: #377eb7; color: #fff; }
37+
</style>
3438
</head>
3539
<body style="text-align: center;">
40+
<a target="__blank" class="docbtn" href="doc.html">Document</a>
3641
<a href="https://github.com/uiwjs/reset-css" target="__blank">
3742
<h1 style="font-size: 46px; padding: 50px 0 0 0; font-weight: bold;">reset.css</h1>
3843
</a>

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
reset.css
22
---
33

4-
[![](https://img.shields.io/npm/v/@uiw/reset.css.svg)](https://www.npmjs.com/@uiw/reset.css)
4+
[![NPM Version](https://img.shields.io/npm/v/@uiw/reset.css.svg)](https://www.npmjs.com/@uiw/reset.css)
5+
[![Build & Deploy](https://github.com/uiwjs/reset-css/actions/workflows/ci.yml/badge.svg)](https://github.com/uiwjs/reset-css/actions/workflows/ci.yml)
6+
[![NPM Downloads](https://img.shields.io/npm/dm/@uiw/reset.css.svg?style=flat)](https://www.npmjs.com/package/@uiw/reset.css)
57

68
A tiny modern CSS reset.
79

0 commit comments

Comments
 (0)