add custom depoly action -- fix build args

This commit is contained in:
engigu
2024-01-03 11:28:13 +08:00
parent 56d1276d6e
commit f9bc1d2fa4
+2 -2
View File
@@ -19,7 +19,7 @@ jobs:
go-version: '>=1.20.2'
- name: Install npm dependencies
run: npm i
run: npm ci
working-directory: web/
- name: Run npm build
@@ -34,7 +34,7 @@ jobs:
run: go mod tidy
- name: Build Go
run: go build -o Message-Nest
run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o Message-Nest
- name: Copy files to server
uses: appleboy/scp-action@master