Error handling
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
Joe Bellus 2022-09-25 13:54:12 -04:00
parent 1fbba62f8e
commit 22eaca4148
2 changed files with 8 additions and 8 deletions

View File

@ -18,9 +18,9 @@ steps:
- chmod +x mc
- ./mc alias set fivesigma https://objects.5sigma.io $MINIOID $MINIOSECRET
- ./mc cp conductor.tar.gz fivesigma/public/conductor.tar.gz
# when:
# event:
# - promote
# target:
# - staging
# - production
when:
event:
- promote
target:
- staging
- production

View File

@ -21,8 +21,8 @@ pub async fn run() -> anyhow::Result<()> {
std::env::set_current_dir(cfg_path.parent().unwrap())?;
let config_str = std::fs::read_to_string(cfg_path).unwrap();
let project = Project::load_str(&config_str).unwrap();
let config_str = std::fs::read_to_string(cfg_path)?;
let project = Project::load_str(&config_str)?;
let args = std::env::args();