chore: update workflows config.
This commit is contained in:
parent
325bcd4b7e
commit
13248c11e0
|
|
@ -80,6 +80,30 @@ jobs:
|
|||
Document linux-command@${{ steps.changelog.outputs.tag }}:
|
||||
https://raw.githack.com/jaywcjlove/linux-command/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html
|
||||
|
||||
|
||||
## Docker
|
||||
|
||||
[](https://hub.docker.com/r/wcjiang/linux-command) [](https://hub.docker.com/r/wcjiang/linux-command) [](https://hub.docker.com/r/wcjiang/linux-command)
|
||||
|
||||
轻松通过 `docker` 部署 `linux-command` 网站。
|
||||
|
||||
```bash
|
||||
docker pull wcjiang/linux-command
|
||||
```
|
||||
|
||||
```bash
|
||||
docker run --name linux-command --rm -d -p 9665:80 wcjiang/linux-command:latest
|
||||
# Or
|
||||
docker run --name linux-command -itd -p 9665:80 wcjiang/linux-command:latest
|
||||
```
|
||||
|
||||
在浏览器中访问以下 URL
|
||||
|
||||
```bash
|
||||
http://localhost:9665/
|
||||
```
|
||||
|
||||
|
||||
- run: npm install @jsdevtools/npm-publish -g
|
||||
- run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue