Skip to content

Commit

Permalink
remove public
Browse files Browse the repository at this point in the history
  • Loading branch information
mouday committed Jun 7, 2024
1 parent 899107d commit f2263ae
Show file tree
Hide file tree
Showing 63 changed files with 34 additions and 388 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name: Docker Publish
on:
push:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
- 'vxx*' # Push events to matching v*, i.e. v1.0, v20.15.10

jobs:
docker:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Upload Python Package
on:
push:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
- 'vxx*' # Push events to matching v*, i.e. v1.0, v20.15.10

permissions:
contents: read
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,37 @@ jobs:
- name: Checkout Master
uses: actions/checkout@master

# 拉取web前端dist的代码
- name: Checkout Web Dist
uses: actions/checkout@v3
with:
repository: 'mouday/spider-admin-pro-web'
ref: 'master'
token: ${{ secrets.GH_PAT }}
path: 'spider_admin_pro_web'

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16

- name: Install pnpm
uses: pnpm/[email protected]
with:
version: 7

- name: Install dependencies
run: cd spider_admin_pro_web && pnpm install --no-frozen-lockfile

- name: Build package
run: pnpm run build

- name: Deploy
run: cp -r ./dist/* ../spider_admin_pro/public/

- name: Clean
run: cd .. && rm -rf spider_admin_pro_web

- name: Set up Python
uses: actions/setup-python@v3
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ config.yml
logs/
.python-version
venv/
public/
.venv/
spider_admin_pro/public/**/*.br
spider_admin_pro/public/**/*.gz
1 change: 0 additions & 1 deletion spider_admin_pro/public/index.html

This file was deleted.

1 change: 0 additions & 1 deletion spider_admin_pro/public/static/css/app.542ee7ed.css

This file was deleted.

Loading

0 comments on commit f2263ae

Please sign in to comment.