A job assignment may be temporary or indefinite. Which one it is makes a big difference in the amount of expenses you may deduct.
If your other work location qualifies as a temporary work site then you may deduct related travel expenses. And, as you can read here, travel expenses can mount up. A temporary work site or assignment is, generally, work at a single location that is realistically expected to last (and does in fact last) for one year or less.
If, on the other hand, your work assignment or job is indefinite, you cannot deduct your travel expenses while there. An assignment or job in a single location is considered indefinite if it is realistically expected to last for more than one year, whether or not it actually lasts for more than one year.
You must determine whether your assignment is temporary or indefinite when you start work. If you realistically expect an assignment or job to last for one year or less, it is temporary.
An assignment that is initially temporary may become indefinite due to changed circumstances. A series of assignments to the same location, all for short periods but that together cover a long period, may be considered an indefinite assignment.
Be sure to check out the long list of travel expenses on my website.