[Resolved] - Stylus variables not applying at build time in CI/CD pipeline (Ubuntu VM)
-
Hey guys! I was wondering if anyone has seen this before?
If I build my project locally on my machine it builds as expected and the variables are applied. However when I build using a VM for CI/CD purposes, the variables do not get applied, but does not error. The build proceeds and deploys, however visually its lacking; due to the variables not applying.
-
Here is a screenshot of the css after CI/CD has deployed the code.
-
Here is a screenshot of the css after I build locally and manually deploy the code.
Environment Version
-
Local Machine Info
-
VM Info
-
CI/CD
Done via Gitlab using Docker containers.
-
-
[FIX]
The git repo actually had a cached folder with different casing to local directory.
Running the command git delete cached folder command:git rm -r --cached myFolder
and then pushing up resolved this issue.