Summary Files Commits Branches @commit @diff @stats
path: root / generate.sh
blob: 7f577f8323362100b94b33abfb8ec0b9200840eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh

# Make folder if it doesn't exist
if [ ! -d "website" ]; then
  sudo -u www-data mkdir website
fi

# Remove record of previously generated files
sudo rm -f website/.files

# Generate files
sudo ssg6 src website "Syndamia" "https://www.syndamia.com"

sudo ./make-titles.sh website
sudo ./make-descriptions.sh website