WASHINGTON — President Donald Trump signaled on Thursday he will declare a national immigration emergency in coming days to get around congressional opposition to his controversial border wall project, possibly shifting billions in military funds to pay for the construction.

The announcement from the White House came as Trump announced he will sign a budget deal designed to avoid another government shutdown this weekend, even though the deal falls more than $4 billion short of the funding he requested for the wall project.

“President Trump will sign the government funding bill, and as he has stated before, he will also take other executive action — including a national emergency — to ensure we stop the national security and humanitarian crisis at the border,” White House spokeswoman Sarah Sanders said in a statement.

“The president is once again delivering on his promise to build the wall, protect the border, and secure our great country.”