require('dotenv').config();

module.exports = {
  apps: [{
    name: 'web',
    script: './build/index.js',
    wait_ready: true,
    autorestart: false,
    error_file: 'err.log',
    out_file: 'out.log',
    log_date_format: 'YYYY-MM-DD HH:mm Z',
  }, {
    name: 'worker',
    script: './build/worker.js',
    wait_ready: true,
    autorestart: false,
  }],
  deploy: {
    production: {
      user: process.env.user,
      host: process.env.host,
      key: process.env.key,
      ref: 'origin/master',
      repo: 'git@github.com:cjessett/buoyfeed.git',
      path: process.env.path,
      'post-deploy': 'yarn && yarn build && yarn pm2 startOrRestart ecosystem.config.js',
    },
  },
}

@@ -517,12 +517,16 @@
 o: '
-git@
+https://
 gith
@@ -531,17 +531,17 @@
 thub.com
-:
+/
 cjessett
@@ -553,12 +553,8 @@
 feed
-.git
 ',%0A 

Update git repo