Browse Source

scripts

master
rdrew 3 weeks ago
parent
commit
85aeacb686
  1. 16
      bs.js
  2. 8
      deploy.sh

16
bs.js

@ -1,15 +1,15 @@
var browserSync = require('browser-sync');
var browserSync = require("browser-sync");
browserSync({
//proxy: 'http://137.149.200.93',
proxy: 'https://islandimagined2.islandarchives.ca',
files: 'css/**/*.css',
plugins: ['bs-rewrite-rules'],
serveStatic: ['.'],
proxy: "https://booklives2.islandarchives.ca",
files: "css/**/*.css",
plugins: ["bs-rewrite-rules"],
serveStatic: ["."],
rewriteRules: [
{
match: /\/themes\/custom\/olivesbooks/g,
replace: ''
}
]
replace: "",
},
],
});

8
deploy.sh

@ -12,10 +12,10 @@
# --------------------------------------------------------
# --- CONFIGURATION (Edit these for new environments) ---
SERVER="newspapers2.islandarchives.ca"
THEME_DIR="/var/www/islandnewspapers2/web/themes/custom/olivesnews"
SITE_ROOT="/var/www/islandnewspapers2/web/sites/islandnewspapers2"
DRUSH_PATH="/var/www/islandnewspapers2/vendor/drush/drush/drush"
SERVER="booklives2.islandarchives.ca"
THEME_DIR="/var/www/islandarchives2/web/themes/custom/olivesbooks"
SITE_ROOT="/var/www/islandarchives2/web/sites/booklives2.islandarchives.ca"
DRUSH_PATH="/var/www/islandarchives2/vendor/drush/drush/drush"
# --------------------------------------------------------
# 1. Check if a commit message was provided

Loading…
Cancel
Save