Hello! I'm new to deployment and infrastructure, and I'm setting up a Continuous Delivery (CD) process using Mina (v1.2.5) on a VPS. I'm facing a curious issue: the mina deploy command runs successfully, updates the current symlink to the new release, but the code changes only appear in the application after I run mina deploy a second time.
Current workflow:
- One inside the project repository.
- And another on the VPS.
On the VPS:
- The script runs
git pull in the local repository clone.
- Then executes
mina deploy.
On the first execution, the deploy completes without errors and the current symlink is correctly updated to the new release. However, when accessing the application (API or web), the displayed code is still from the previous version. Only after running mina deploy again do the latest changes actually reflect in the application.
I'm using Mina version v1.2.5, with the standard deploy structure (releases, current, and shared folders), and I haven't been able to figure out what's causing this behavior. If anyone has experienced something similar or has any advice, I’d greatly appreciate it.
Hello! I'm new to deployment and infrastructure, and I'm setting up a Continuous Delivery (CD) process using Mina (v1.2.5) on a VPS. I'm facing a curious issue: the
mina deploycommand runs successfully, updates thecurrentsymlink to the new release, but the code changes only appear in the application after I runmina deploya second time.Current workflow:
On the VPS:
git pullin the local repository clone.mina deploy.On the first execution, the deploy completes without errors and the
currentsymlink is correctly updated to the new release. However, when accessing the application (API or web), the displayed code is still from the previous version. Only after runningmina deployagain do the latest changes actually reflect in the application.I'm using Mina version v1.2.5, with the standard deploy structure (
releases,current, andshared folders), and I haven't been able to figure out what's causing this behavior. If anyone has experienced something similar or has any advice, I’d greatly appreciate it.