编辑文件 my-first-workflow.yaml
This commit is contained in:
@@ -124,7 +124,7 @@ steps:
|
|||||||
password: dgaoXMPC8325 # 统一缩进6个空格
|
password: dgaoXMPC8325 # 统一缩进6个空格
|
||||||
source:
|
source:
|
||||||
- blazing/build/**
|
- blazing/build/**
|
||||||
target: /opt/login/
|
target: /opt/blazing/
|
||||||
strip_components: 1 # 统一缩进6个空格
|
strip_components: 1 # 统一缩进6个空格
|
||||||
skip_verify: true # 统一缩进6个空格
|
skip_verify: true # 统一缩进6个空格
|
||||||
timeout: 30s # 统一缩进6个空格
|
timeout: 30s # 统一缩进6个空格
|
||||||
@@ -140,7 +140,7 @@ steps:
|
|||||||
password: dgaoXMPC8325 # 统一缩进6个空格
|
password: dgaoXMPC8325 # 统一缩进6个空格
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
cd /opt/login
|
cd /opt/blazing/build
|
||||||
BIN_NAME=$(ls -t login_v* 2>/dev/null | head -1)
|
BIN_NAME=$(ls -t login_v* 2>/dev/null | head -1)
|
||||||
echo "BIN_NAME: $BIN_NAME"
|
echo "BIN_NAME: $BIN_NAME"
|
||||||
if [ -z "$BIN_NAME" ]; then
|
if [ -z "$BIN_NAME" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user