This commit is contained in:
@@ -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"
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user