build without cgo
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-12-28 15:35:20 +11:00
parent 1e4fd9d5d6
commit e20e799808
2 changed files with 4 additions and 1 deletions

View File

@@ -1,5 +1,8 @@
#!/bin/sh
# disable CGO for cross-compiling
export CGO_ENABLED=0
export now=$(TZ=Australia/Sydney date '+%Y%m%d-%H%M%S')
echo $now
echo "build commences"

View File

@@ -40,7 +40,7 @@ steps:
port: 22
command_timeout: 2m
script:
- sudo basc -c 'mv /home/l075239/smt/test.env /home/l075239/smt/.env'
- sudo bash -c 'mv /home/l075239/smt/test.env /home/l075239/smt/.env'
- sudo bash -c '/etc/init.d/cbs restart'
- name: dell-deploy