Date: 202101
Local time of day: 1201-1800
Location: ZZZ.TRACON, US
Aircraft: Commercial Fixed Wing
Operating under: Part 121
Flight plan: IFR
Mission: Other unknown
Flight phase: Takeoff / Launch
Airspace: Class C ZZZ
ATC / advisory: Tower ZZZ
Reporter organization: Air Carrier
Reporter function: Captain
Reporter qualification: Flight Crew Air Transport Pilot (ATP); Flight Crew Instrument; Flight Crew Multiengine
Human factors: Communication Breakdown; Distraction; Situational Awareness; Time Pressure; Workload
Anomaly: ATC Issue All Types; Aircraft Equipment Problem Less Severe; Deviation - Track / Heading All Types; Deviation / Discrepancy - Procedural Clearance
Detector: Person Air Traffic Control; Person Flight Crew
When detected: In-flight
Result: Air Traffic Control Provided Assistance; Flight Crew Returned To Clearance
Contributing factors: Aircraft; Environment - Non Weather Related; Procedure; Human Factors
Primary problem: Environment - Non Weather Related

Narrative: Please reference ZZZ [airport]; ZZZZZ 4 RNAV SID.  We were assigned the ZZZZZ 4 RNAV SID and departed Runway XXR at ZZZ.  After checking in with Departure Control the FO (pilot flying) called for the After TO Checklist.  This is when several things happened at once.   Before finishing the checklist the Departure Controller told us to climb to 10;000 feet and said we were clear ZZZZZ1 [Intersection] then ZZZZZ2 [Intersection].  At the same time we received an ECAM alert for a #1 Pressure Regulator Fault.  By the time I set the altitude in the FCP; read back the clearance; re-visited and completed the after TO checklist and trying to diagnose what the ECAM was telling me we were over ZZZZZ1 [Intersection] and the aircraft was starting to turn to the next point on the SID which was ZZZZZ3 [Intersection].  The FO put turned the auto pilot on and placed the aircraft in heading mode and started a turn to ZZZZZ2 [Intersection].  We got the aircraft navigating to ZZZZZ2 [Intersection] but apparently it was not quick enough for the controller.  He chimed in and gave us a heading for ZZZZZ2 [Intersection].  We told him we were in the turn and navigating to ZZZZZ2 [Intersection] at that time.  Probably not a big deal.  No conflict with other aircraft or terrain.  No airspeed or altitude violations.  Just a lot of things happening at once during a busy phase of flight.  The result was we were a few seconds late to make our turn when our departure instructions were changed from what was given to us on the PDC.We complied with the ATC instructions as soon as we could.  It was a busy phase of flight and we were task saturated at the time. Getting an ECAM message for a pressurization fault was an added distraction.   I have been off work for almost a month due to COVID leave and this was my second trip since returning.   I was a little slow to respond but I've been off work almost X weeks and I'm still shaking off the cobwebs.Not pointing fingers; but a change to our SID would have been nice to know BEFORE we took off so we could expect; brief; and build the change into the FMS.  When taking off on [Runway] XXR via the ZZZZZ 4 RNAV SID you are over the first point; ZZZZZ1 [Intersection]; seconds after TO.   Having a change to the SID when approaching ZZZZZ1 [Intersection] only gave us a few seconds to react.  Trying to read back and amend the departure clearance in the FMS; clean up the airplane; finish the after takeoff checklist; and diagnose an ECAM caution made for a lot of balls to juggle.




Synopsis: Air carrier Captain reported a track heading deviation during departure. Captain cited distraction dealing with an ECAM alert and lack of flying contributed to the event.