Skip to content

Commit

Permalink
add release action
Browse files Browse the repository at this point in the history
  • Loading branch information
usual2970 committed Aug 22, 2024
1 parent bcd8f8d commit 116b520
Show file tree
Hide file tree
Showing 14 changed files with 293 additions and 231 deletions.
36 changes: 36 additions & 0 deletions .github/workflow/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: basebuild

on:
pull_request:
push:

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20.11.0

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ">=1.22.5"

- name: Build Admin dashboard UI
run: npm --prefix=./ui run build

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions ui/dist/assets/index-127rBbJX.css

Large diffs are not rendered by default.

228 changes: 228 additions & 0 deletions ui/dist/assets/index-3QHTbODC.js

Large diffs are not rendered by default.

228 changes: 0 additions & 228 deletions ui/dist/assets/index-5KJiNPtI.js

This file was deleted.

1 change: 0 additions & 1 deletion ui/dist/assets/index-D631C4rs.css

This file was deleted.

1 change: 1 addition & 0 deletions ui/dist/imgs/providers/aliyun.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions ui/dist/imgs/providers/baidu.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ui/dist/imgs/providers/baisan.avif
Binary file not shown.
1 change: 1 addition & 0 deletions ui/dist/imgs/providers/qiniu.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ui/dist/imgs/providers/ssh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions ui/dist/imgs/providers/tencent.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions ui/dist/imgs/providers/volcengine.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions ui/dist/imgs/providers/wangsu.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions ui/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Certimate - Your Trusted SSL Automation Partner</title>
<script type="module" crossorigin src="/assets/index-5KJiNPtI.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-D631C4rs.css">
<script type="module" crossorigin src="/assets/index-3QHTbODC.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-127rBbJX.css">
</head>
<body class="bg-background">
<div id="root"></div>
Expand Down

0 comments on commit 116b520

Please sign in to comment.