Deployment
Here are the steps that must be followed to deploy Technotic in npmjs
Merge branch
Make sure to merge the branch you want to deploy to the master branch by creating pull request
Push Force
After merging your branch and master, push force master to production branch:
git push origin +master:production --no-verify
Run Workflow
1. Go to production branch
2. Go to Actions
3. Go to Technotic Publish Action
4. Click Run Workflow
Change use workflow of branch to production
and define the version type
The Explanation of Version Type (major | minor | patch)
Major: Big updates such as design changes
Minor: Add new features
Patch: Fix bug components such as margin, colour
Then click run workflow and wait for a second
It will be commited in production branch as Automated Bump Version (updated version)
Merge and Pull Request
Last step is to merge manually from the production branch to the master branch by creating a pull request, which will update the master branch to the latest commit
Check the version of Technotic at npm If the version has been updated, it means the deployment was successful