chore: update workflows config.
This commit is contained in:
parent
9a2cbcd359
commit
cb9af579f0
22
.github/workflows/ci.yml
vendored
22
.github/workflows/ci.yml
vendored
@ -50,6 +50,28 @@ jobs:
|
||||
run: |
|
||||
cat > README.md << EOF
|
||||
Website: https://jaywcjlove.github.io/reference
|
||||
|
||||
## Docker
|
||||
|
||||
[](https://hub.docker.com/r/wcjiang/reference) [](https://hub.docker.com/r/wcjiang/reference) [](https://hub.docker.com/r/wcjiang/reference)
|
||||
|
||||
轻松通过 `docker` 部署 `Quick Reference` 网站。
|
||||
|
||||
```bash
|
||||
docker pull wcjiang/reference
|
||||
```
|
||||
|
||||
```bash
|
||||
docker run --name reference --rm -d -p 9667:3000 wcjiang/reference:latest
|
||||
# Or
|
||||
docker run --name reference -itd -p 9667:3000 wcjiang/reference:latest
|
||||
```
|
||||
|
||||
在浏览器中访问以下 URL
|
||||
|
||||
```bash
|
||||
http://localhost:9667/
|
||||
```
|
||||
EOF
|
||||
|
||||
- name: Deploy
|
||||
|
@ -25,7 +25,7 @@
|
||||
"husky": "^8.0.1",
|
||||
"lint-staged": "^13.0.3",
|
||||
"prettier": "^2.7.1",
|
||||
"refs-cli": "^1.2.9"
|
||||
"refs-cli": "^1.2.10"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user