Skip to content

Commit

Permalink
Added pull and push
Browse files Browse the repository at this point in the history
  • Loading branch information
Phantom-Intruder committed Apr 14, 2022
1 parent 44a7063 commit 829f5c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/commit.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ exports.postCommit = (req, res, next) => {
//console.log(response);
var logStream = fs.createWriteStream('site/src/app/app.component.html', {flags: 'a'});
logStream.write('<br/><p>This is a commit block</p>');
execProcess.result('git add . & git commit -m "New block commited." & git push -u origin topic/work-on-site', (err, response) => {
execProcess.result('cd ../site & git add . & git commit -m "New block commited." & git push -u origin topic/work-on-site', (err, response) => {
if(!err){
console.log(response);
} else {
Expand Down

0 comments on commit 829f5c3

Please sign in to comment.