summaryrefslogtreecommitdiff
path: root/bin/reevotech/PutPages.sh
blob: 831a8616f7975bbfd6cf49d6b8aad9ba3f4ac177 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
# Use: ./bin/reevotech/PutPages.sh ecoversities Property

if [ $# -eq 0 ]
  then
    echo "Missing parameters. Use: ./bin/reevotech/PutPages.sh ecoversities Help"
    exit
fi


cd /srv/reevotech

DEPLOY=$1
NS=$2

cd /srv/reevotech/www/wiki/maintenance/


php importTextFiles.php --conf ../LocalSettings-$DEPLOY.php -s "Updated using PutPages.sh"  --overwrite  "../deployments/$DEPLOY/pages/$NS/*"