Unverified Commit 9043547a authored by Maxime Golfier's avatar Maxime Golfier Committed by GitHub
Browse files

fix(doc): contributing how to push to prod (#1249)

parent f5cd5f11
......@@ -13,6 +13,7 @@ help make it even better than it is today!
- [Scripts](#scripts)
- [Recommended IDE Settings](#recommended-ide-settings)
- [VS Code](#vs-code)
- [Push to production](#push-to-production)
- [Known Issues](#known-issues)
- [Docker Compose](#docker-compose)
- [Jest Watch](#jest-watch)
......@@ -148,6 +149,14 @@ This repository comes with multiple useful npm scripts (run via `yarn <script>`)
}
```
## Push to production
```sh
git remote add live ssh://factory@IP_SERVER/home/factory/code-du-travail-backoffice.git # Add remote url to git
git remote -v # List remotes url
git push live master # Push master to live remote branch
```
### Known Issues
#### Docker Compose
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment