Update gitignore
Don't cache unless the deployment is active and complete