1
0
mirror of https://github.com/142vip/408CSFamily.git synced 2026-04-09 05:27:52 +08:00

chrome: 删除无用脚本和注释,优化ci自动化

This commit is contained in:
chu fan
2023-09-07 00:34:17 +08:00
parent c003e11b80
commit e387fbdbfc
14 changed files with 561 additions and 885 deletions

View File

@@ -37,7 +37,7 @@ jobs:
version: 7
run_install: true
- name: Code ESlint Fix
run: pnpm lintfix
- name: Code Fix
run: ./scripts/lint --fix
- name: Build Site
run: pnpm build
run: ./scripts/bundle build

View File

@@ -41,7 +41,10 @@ jobs:
run: |
docker version
echo "-----------Docker Login-----------"
docker login --username=${{ env.UserName }} --password=${{ secrets.DOCKER_PASSWORD }} ${{env.REGISTRY}}
docker login \
--username=${{ env.UserName }} \
--password=${{ secrets.DOCKER_PASSWORD }} \
${{env.REGISTRY}}
- name: Install Node.js
uses: actions/setup-node@v3
@@ -54,5 +57,10 @@ jobs:
version: 7
run_install: true
- name: Build And Push Docker image
run: PROXY_DOMAIN=true pnpm image:faster
## 构建支持domain
- name: Build To Dist
run: ./scripts/bundle build_proxy
- name: Push Docker image
run: ./scripts/bundle image_faster

View File

@@ -31,7 +31,10 @@ jobs:
run: |
docker version
echo "-----------Docker Login-----------"
docker login --username=${{ env.UserName }} --password=${{ secrets.DOCKER_PASSWORD }} ${{env.REGISTRY}}
docker login \
--username=${{ env.UserName }} \
--password=${{ secrets.DOCKER_PASSWORD }} \
${{env.REGISTRY}}
- name: Install Node.js
uses: actions/setup-node@v3
@@ -45,7 +48,7 @@ jobs:
run_install: true
- name: Build And Push Docker image
run: pnpm faster-image
run: ./script/bundle image
Deploy-ESC:
needs: Docker-Image

View File

@@ -32,8 +32,7 @@ jobs:
# 运行构建脚本
- name: Build VuePress Site
run:
PROXY_DOMAIN=true pnpm build
run: ./scripts/bundle build_proxy
- name: Deploy to GitHub Page
uses: crazy-max/ghaction-github-pages@v3