Deploying shiny with private github repositories using github actions

Hi everyone,
Trying to deploy a shiny app using github actions. we have a private github repository with our private packages and I cannot for the life of me figure out how to get it to work. can someone point me in the right direction? I can deploy something without those private packages but as soon as i try with the private packages i run into errors. package manager doesnt allow for username/password access, only ip address and github has several ips for the actions servers. Github install doesnt seem to work either. I even tried manually creating the manifest and deploying from that but I dont know what the new versions will be so that didnt work either