1. Nginx configuration development, testing, gray scale, formal environment address (a static server processing scheme, multiple servers do not need to configure)
2. Vue uses environment variables to specify the package directory and interface address
Tutorial: segmentfault.com/a/119000001…
3. Use Node. js to specify the packing location
Tutorial: segmentfault.com/a/119000001…
4. Manage the corresponding version through Git (such as official Master, test, dev)
The git checkout command is used to switch branches or checkout content to a working directory. (for example, the current branch is dev)
Command: Git checkout test git merge git merge Git merge dev You can use git mergeTool to launch an external merge help when you have problems with git merges.Copy the code
Dev ->test->master
Note: Use tag to manage version after large version sealing)
6. Roll back the code if the release fails (exercise caution)
Rollback command: git log to see the version number code tutorial: https://blog.csdn.net/weixin_39761195/article/details/111222835Copy the code
7. Automatically pull GIT code through Shell script.
8. Run the corresponding NPM command.
9. Complete the process