On 24 August , the Soviet Union and Germany signed the political and military deal that accompanied the trade agreement , the Molotov-Ribbentrop Pact .
The Soviet Union made a secret deal with Nazi Germany on 23 August .