diff --git a/.drone.sh b/.drone.sh index b297e17..61906f8 100644 --- a/.drone.sh +++ b/.drone.sh @@ -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" diff --git a/.drone.yml b/.drone.yml index 7538cc7..f320a53 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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