Skip to content

Commit a9ccbaa

Browse files
committed
update ci
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
1 parent 1cfc938 commit a9ccbaa

File tree

3 files changed

+34
-4
lines changed

3 files changed

+34
-4
lines changed

.github/workflows/site.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: docs
2+
3+
on:
4+
push:
5+
branches:
6+
- 'site'
7+
8+
jobs:
9+
docs:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
with:
15+
fetch-depth: 0
16+
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v1
19+
with:
20+
node-version: '14'
21+
22+
- name: Install dependencies
23+
run: npm install
24+
25+
- name: Build Oui site
26+
run: npm run build
27+
28+
- name: Deploy to GitHub Pages
29+
uses: crazy-max/ghaction-github-pages@v2
30+
with:
31+
target_branch: gh-pages
32+
build_dir: dist
33+
env:
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# rtty ([中文](/README_ZH.md)) - Access your device from anywhere via the web
22

3-
**Official Website:** https://rttys.net/
4-
53
**This project is officially supported by [GL.iNet](https://www.gl-inet.com).**
64

75
[1]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=plastic

README_ZH.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# rtty - 在任何地方通过Web访问您的设备
22

3-
**官方网站:** https://rttys.net/
4-
53
**本项目由 [GL.iNet](https://www.gl-inet.com) 官方支持。**
64

75
[1]: https://img.shields.io/badge/开源协议-MIT-brightgreen.svg?style=plastic

0 commit comments

Comments
 (0)