Hi, I'm using private git repository, when I make any changes and commit the change to git repo, action start and on aws ubuntu server ./deploy.sh file executing but git pull origin main doesn't get the latest changes from origin main repo.
I have clone this repository using ssh git@github.com:xxx/xxx.git. also added id-res.pub key into my github account, even generated Personal Access Token.
By manually executing ./deploy.sh on ubuntu terminal window works fine.
Also, I tried the same with public repository it works as expected but private repo it doesn't get the latest changes rest all statement execute from ./deploy.sh
git pull origin main
cd client
sudo npm install
sudo npm run-script build
cd ..
sudo docker-compose build --no-cache
sudo docker-compose stop
sudo docker-compose up --force-recreate -d
Hi, I'm using private git repository, when I make any changes and commit the change to git repo, action start and on aws ubuntu server ./deploy.sh file executing but git pull origin main doesn't get the latest changes from origin main repo.
I have clone this repository using ssh git@github.com:xxx/xxx.git. also added id-res.pub key into my github account, even generated Personal Access Token.
By manually executing ./deploy.sh on ubuntu terminal window works fine.
Also, I tried the same with public repository it works as expected but private repo it doesn't get the latest changes rest all statement execute from ./deploy.sh
git pull origin main cd client sudo npm install sudo npm run-script build cd .. sudo docker-compose build --no-cache sudo docker-compose stop sudo docker-compose up --force-recreate -d