📜 ⬆️ ⬇️

Git is cool! Your cap

This will probably be my shortest article. Moreover, the idea itself is obvious.

Often in WEB projects there are problems of delivering statics to prod out of releases . For example, you need to upload files for the SPA with marketing information: actual commissions, fresh FAQ, etc.

We have generated such files from the admin panel. Then they poured rsync-com on the nodes. The disadvantages of such a solution a lot. Logging and access control are among the most serious.
')
Once I got the idea to use git to deliver marketing statics to a prod. Those. the files are also generated in the admin panel, then they automatically commit to the user who generated them and push them into a separate, marketing turnip.

And further, the habitual magic of CI / CD git works.

Moreover, now we have access to profits that we don’t even think about - automatic control of the actual execution of tasks by marketing through the integration of Jira and gitlab.

Source: https://habr.com/ru/post/448166/


All Articles