-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into yuannnh/clinic-live
- Loading branch information
Showing
68 changed files
with
3,112 additions
and
2,966 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# https://github.com/marketplace/actions/image-actions | ||
jpeg: | ||
quality: 80 | ||
png: | ||
quality: 100 | ||
webp: | ||
quality: 80 | ||
ignorePaths: | ||
- "node_modules/**" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# https://github.com/marketplace/actions/image-actions | ||
name: Compress images | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
build: | ||
name: calibreapp/image-actions | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: calibreapp/image-actions | ||
uses: docker://calibreapp/github-image-actions | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,29 +3,24 @@ on: | |
push: | ||
branches: | ||
- dev | ||
pull_request: | ||
branches: | ||
- dev | ||
jobs: | ||
build-and-deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
- name: Use Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
node-version: '14' | ||
- name: Install & build | ||
run: | | ||
npm install | ||
npm run build | ||
echo wuhan2020.kaiyuanshe.cn > dist/CNAME | ||
- name: Deploy | ||
uses: peaceiris/[email protected] | ||
env: | ||
PUBLISH_DIR: ./dist | ||
PUBLISH_BRANCH: gh-pages | ||
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }} | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
forceOrphan: true | ||
publish_dir: ./dist | ||
cname: wuhan2020.kaiyuanshe.cn | ||
personal_token: ${{ secrets.GITHUB_TOKEN }} | ||
force_orphan: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# 免责声明 | ||
|
||
1. **信息公开**:本网站信息均来源于公开渠道,目的是为公众提供更为充分的信息参考,在本网站所公开的信息,均有可能被任何本网站的访问者浏览,也可能被任何搜索引擎收录,还可能被错误使用,本网站对此将不予承担任何责任。 | ||
|
||
2. **内容审核与监控**:本网站有权对用户发布的内容进行审核与实时监控,有权根据相关证据结合《互联网信息服务管理办法》、《侵权责任法》、《信息网络传播权保护条例》等法律法规及社区指导原则对虚假或侵权信息进行处理,对于删除相关内容所引起的任何后果或导致用户的任何损失不负任何责任。 | ||
|
||
3. **内容准确性**:任何在本网站发布的信息,均必须符合合法、准确、及时、完整的原则。但本网站将不能保证所有由第三方提供的信息,或本网站自行采集的信息完全准确。对这些信息的了解或使用,需要经过进一步核实。本网站对访问者未经自行核实误用本网站信息造成的任何损失不予承担任何责任。 | ||
|
||
4. **公众监督**:任何单位和个人如发现本网站信息存在虚假或侵权等违法违规内容,请尽快联系我们,我们将第一时间结合相关证据及法律法规进行处理。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.