add custom depoly action -- fix build args
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user