Fixed if statement for upload

3 jobs for master in 22 seconds (queued for 1 second)
Status Name Job ID Coverage
  Document
passed generate-docs #144436

00:00:12

 
  Publish
passed pages #144437

00:00:09

 
  Deploy
passed pages:deploy

00:00:00