If your trigger is For Update, Insert
there is not any system information identifying what action caused the trigger to fire.
You could duplicate your code, and create 1 trigger for insert, and 1 trigger for update, or test for Existing rows as you mentioned.