DEV Community

Discussion on: Deploying Next.js apps to a VPS using Github actions and Docker

 
aeshevch profile image
ะะปะตะบัะฐะฝะดั€ ะจะตะฒั‡ะตะฝะบะพ

It works!! Thnx for all!! ๐Ÿฅณ๐Ÿฅณ๐Ÿฅณ

Thread Thread
 
lewiskori profile image
Lewis kori

Yay ๐ŸŽ‰

Thread Thread
 
aeshevch profile image
ะะปะตะบัะฐะฝะดั€ ะจะตะฒั‡ะตะฝะบะพ

A new problem - everything seems to be working, but new changes are not being pulled up...
No errors, website works, docker container id changes after new deploy

Thread Thread
 
lewiskori profile image
Lewis kori

Hey dude. That's not a problem.
New containers get a unique ID every time :)

Thread Thread
 
aeshevch profile image
ะะปะตะบัะฐะฝะดั€ ะจะตะฒั‡ะตะฝะบะพ

Yes, I know. The problem is not that, the problem is that new changes are not being pulled up

Thread Thread
 
aeshevch profile image
ะะปะตะบัะฐะฝะดั€ ะจะตะฒั‡ะตะฝะบะพ

It has now been updated when I manually made "docker rm -vf$(docker ps -aq) and docker rmif$(docker images -aq)" on the server before the deployment