diff --git a/.github/workflows/ipfs.yml b/.github/workflows/ipfs.yml index 5bb6c97a7..f259982b6 100644 --- a/.github/workflows/ipfs.yml +++ b/.github/workflows/ipfs.yml @@ -53,5 +53,5 @@ jobs: json_array=($(jq -r '.[]' ".github/outputs/all_changed_files.json")) for i in "${json_array[@]}" do - npx aave-cli ipfs $i -u ${{ github.event_name != 'pull_request'}} + npx aave-cli ipfs ${{ github.event_name != 'pull_request' && '-u' || ''}} $i done