fixed bug: already deployed artifacts should be immediately committed, not reverted in case of errors