-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (34 loc) · 926 Bytes
/
release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Release Builds
on:
release:
types: [created]
jobs:
release:
name: Release Server
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: "18"
- name: Build Website
run: npm install && OUTPUT=export NEXT_PUBLIC_API_PUBLIC_BASE_URL="" npm run build
working-directory: ./kite-web
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ">=1.21.0"
check-latest: true
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
workdir: kite-service
distribution: goreleaser
version: latest
args: release --clean --skip=validate
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}