This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# disable CGO for cross-compiling
|
||||||
|
export CGO_ENABLED=0
|
||||||
|
|
||||||
export now=$(TZ=Australia/Sydney date '+%Y%m%d-%H%M%S')
|
export now=$(TZ=Australia/Sydney date '+%Y%m%d-%H%M%S')
|
||||||
echo $now
|
echo $now
|
||||||
echo "build commences"
|
echo "build commences"
|
||||||
|
@@ -40,7 +40,7 @@ steps:
|
|||||||
port: 22
|
port: 22
|
||||||
command_timeout: 2m
|
command_timeout: 2m
|
||||||
script:
|
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'
|
- sudo bash -c '/etc/init.d/cbs restart'
|
||||||
|
|
||||||
- name: dell-deploy
|
- name: dell-deploy
|
||||||
|
Reference in New Issue
Block a user