Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

murilo's avatar
Level 10

Git Hub Actions , push into digital ocean with hook

hello , I usually when I deploy one Laravel Application , I create a hook in server and I run this command -

git push production

I am trying to do it , with git actions . after testing the laravel application push . like this tutorial - https://www.youtube.com/watch?v=tTEW3KIu1L0&t=680s

the problem is that is not deploying , and I dont know if the firewall is blocking the IP of git hub actions . usually to aloud a ip on the server I do this -

sudo ufw allow from 123.123.123.123 (MY IP)  to any port ssh

sudo nano jail.local 
ignoreip = 123.123.123.123 (MY IP)
sudo systemctl restart fail2ban.service

But I dont know the Ip address of Git Hub , how could I authorize ?

0 likes
0 replies

Please or to participate in this conversation.