Skip to content

Commit c9e3b91

Browse files
authored
Merge pull request #372 from qianmoQ/feature-ui-tiny-ng
[Env] [Ci] Fixed github ci
2 parents 8fcccc5 + 1c89290 commit c9e3b91

File tree

7 files changed

+34
-70
lines changed

7 files changed

+34
-70
lines changed

.github/workflows/publish-docs.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Publish docs via GitHub Pages
2-
on: push
2+
3+
on:
4+
release:
5+
types: [ published ]
36

47
jobs:
58
build:
@@ -8,12 +11,11 @@ jobs:
811
steps:
912
- name: Checkout main
1013
uses: actions/checkout@v2
11-
1214
- name: Deploy docs
1315
uses: mhausenblas/mkdocs-deploy-gh-pages@master
1416
env:
15-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16-
CUSTOM_DOMAIN: dbm.inke.io
17+
GITHUB_TOKEN: ${{ secrets.TOKEN }}
18+
CUSTOM_DOMAIN: dbm.devlive.org
1719
CONFIG_FILE: docs/mkdocs.yml
1820
EXTRA_PACKAGES: build-base
1921
REQUIREMENTS: docs/requirements.txt
Lines changed: 15 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,22 @@
1-
name: Publish New Release
1+
name: Publish new version
22

33
on:
4-
push
5-
# pull_request:
6-
# branch:
7-
# - 'master'
8-
# types: [ closed ]
4+
release:
5+
types: [ published ]
96

107
jobs:
118
release:
129
runs-on: ubuntu-latest
1310
steps:
14-
1511
- name: Checkout
1612
uses: actions/checkout@master
1713
with:
1814
node-version: 16
19-
2015
- name: Read package.json
2116
id: package-version
2217
uses: tyankatsu0105/read-package-version-actions@v1
2318
with:
2419
path: './'
25-
2620
- name: Create Release
2721
id: create_release
2822
uses: actions/create-release@master
@@ -41,20 +35,18 @@ jobs:
4135
runs-on: macos-latest
4236
needs: release
4337
steps:
44-
4538
- name: Checkout
4639
uses: actions/checkout@master
4740
with:
4841
node-version: 16
49-
5042
- name: Build
5143
uses: actions/setup-node@master
52-
- run: npm cache clear --force
53-
- run: npm install yarn --legacy-peer-deps
54-
- run: yarn add ajv-formats
55-
- run: yarn install
56-
- run: yarn run release
57-
44+
- run: |
45+
npm cache clear --force
46+
npm install yarn --legacy-peer-deps
47+
yarn add ajv-formats
48+
yarn install
49+
yarn run release
5850
- name: Upload Release Asset For dmg
5951
uses: actions/upload-release-asset@master
6052
env:
@@ -64,7 +56,6 @@ jobs:
6456
asset_path: ./release/dbm-${{ needs.release.outputs.version }}-mac-x64.dmg
6557
asset_name: dbm-${{ needs.release.outputs.version }}-mac-x64.dmg
6658
asset_content_type: application/x-tg
67-
6859
- name: Upload Release Asset For zip
6960
uses: actions/upload-release-asset@master
7061
env:
@@ -74,7 +65,6 @@ jobs:
7465
asset_path: ./release/dbm-${{ needs.release.outputs.version }}-mac-x64.zip
7566
asset_name: dbm-${{ needs.release.outputs.version }}-mac-x64.zip
7667
asset_content_type: application/zip
77-
7868
- name: Upload Release Asset For yml
7969
uses: actions/upload-release-asset@master
8070
env:
@@ -85,39 +75,22 @@ jobs:
8575
asset_name: latest-mac-inter.yml
8676
asset_content_type: application/x-yaml
8777

88-
- name: Download and upload to qiniu
89-
run: |
90-
wget https://devtools.qiniu.com/qshell-v2.6.2-darwin-amd64.tar.gz
91-
tar -xvzf qshell-v2.6.2-darwin-amd64.tar.gz
92-
# echo '--------- Start ---------'
93-
# ./qshell account ${{ env.TOKEN_AK }} ${{ env.TOKEN_SK }}
94-
# echo '--------- End ---------'
95-
./qshell account 5eua7TZfgnNb81gmVUBcw4x7PpQuy-v9v1iFyD1R zCwoByIkA9AnlK0qO0DGveH7dKDXLG3CRqZ2mlTW dbm_qiniu
96-
./qshell fput edurtio-other dbm/releases/darwin/x64/dbm-${{ needs.release.outputs.version }}-mac-x64.dmg ./release/dbm-${{ needs.release.outputs.version }}-mac-x64.dmg --overwrite
97-
./qshell fput edurtio-other dbm/releases/darwin/x64/dbm-${{ needs.release.outputs.version }}-mac-x64.zip ./release/dbm-${{ needs.release.outputs.version }}-mac-x64.zip --overwrite
98-
./qshell fput edurtio-other dbm/releases/darwin/x64/latest-mac.yml ./release/latest-mac.yml --overwrite
99-
100-
101-
102-
10378
build-win:
10479
runs-on: windows-latest
10580
needs: release
10681
steps:
107-
10882
- name: Checkout
10983
uses: actions/checkout@master
110-
11184
- name: Build
11285
uses: actions/setup-node@master
11386
with:
11487
node-version: 16
115-
- run: npm cache clear --force
116-
- run: npm install yarn --legacy-peer-deps
117-
- run: yarn add ajv-formats
118-
- run: yarn install
119-
- run: yarn run release
120-
88+
- run: |
89+
npm cache clear --force
90+
npm install yarn --legacy-peer-deps
91+
yarn add ajv-formats
92+
yarn install
93+
yarn run release
12194
- name: Upload Release Asset
12295
id: upload-release-asset
12396
uses: actions/upload-release-asset@master
@@ -128,14 +101,3 @@ jobs:
128101
asset_path: ./release/dbm-${{ needs.release.outputs.version }}-windows-x64-nsis-installer.exe
129102
asset_name: dbm-${{ needs.release.outputs.version }}-windows-x64-nsis-installer.exe
130103
asset_content_type: application/octet-stream
131-
132-
- name: Download and upload to qiniu
133-
run: |
134-
echo '--------- Start ---------'
135-
136-
certutil.exe -urlcache -split -f https://github.com/qianmoQ/assets/raw/main/windows/qshell.exe
137-
./qshell account 5eua7TZfgnNb81gmVUBcw4x7PpQuy-v9v1iFyD1R zCwoByIkA9AnlK0qO0DGveH7dKDXLG3CRqZ2mlTW dbm_qiniu
138-
./qshell fput edurtio-other dbm/releases/windows/x64/dbm-${{ needs.release.outputs.version }}-windows-x64-nsis-installer.exe ./release/dbm-${{ needs.release.outputs.version }}-windows-x64-nsis-installer.exe --overwrite
139-
./qshell fput edurtio-other dbm/releases/windows/x64/latest-win.yml ./release/latest-win.yml --overwrite
140-
141-
echo '--------- End ---------'

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright [2021] [dbm of copyright EdurtIO]
189+
Copyright [2023] [dbm of copyright Devlive Community]
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

docs/CNAME

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
dbm.edurt.io
1+
dbm.devlive.org

docs/mkdocs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
site_name: Database GUI
2-
site_url: https://dbm.edurt.io/
2+
site_url: https://dbm.devlive.org
33
site_author: qinamoQ
44
site_description: >-
55
Full platform database management tool, supports ClickHouse, Presto, Trino
66
7-
repo_name: EdurtIO/dbm
8-
repo_url: https://github.com/EdurtIO/dbm
9-
edit_uri: "https://github.com/EdurtIO/dbm/blob/master/docs/docs"
7+
repo_name: devlive-community/dbm
8+
repo_url: https://github.com/devlive-community/dbm
9+
edit_uri: "https://github.com/devlive-community/dbm/blob/dev/docs/docs"
1010

11-
copyright: Copyright © 2021 EdurtIO
11+
copyright: Copyright © 2023 Devlive Community
1212

1313
theme:
1414
name: null

electron-builder.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
appId: 'io.edurt.dbm'
1+
appId: 'org.devlive.dbm'
22

33
artifactName: ${name}-${version}-${os}-${arch}.${ext}
44

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "dbm",
3-
"version": "1.23.0",
4-
"author": "qianmoQ <shicheng@ttxit.com>",
3+
"version": "1.24.0",
4+
"author": "qianmoQ <shicheng@devlive.org>",
55
"description": "Full platform database management tool, supports ClickHouse, Presto, Trino, MySQL, PostgreSQL...",
6-
"github": "https://github.com/EdurtIO/dbm.git",
7-
"homepage": "https://dbm.edurt.io",
6+
"github": "https://github.com/devlive-community/dbm.git",
7+
"homepage": "https://dbm.devlive.org",
88
"keywords": [
99
"angular",
1010
"angular 12",
@@ -75,7 +75,7 @@
7575
"ng-zorro-antd": "13.3.1",
7676
"ngx-ace-wrapper": "^12.0.0",
7777
"ngx-clipboard": "^14.0.2",
78-
"ngx-easy-table": "^15.2.0",
78+
"ngx-easy-table": "15.2.0",
7979
"ngx-ellipsis": "^3.1.6",
8080
"ngx-markdown": "^13.1.0",
8181
"ngx-moment": "^6.0.2",

0 commit comments

Comments
 (0)