We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fb79a0 commit 2da7a45Copy full SHA for 2da7a45
1 file changed
build-site.sh
@@ -3,13 +3,8 @@
3
set -e
4
5
HUGO=hugo
6
-# HUGO.0.81.0=${2:-hugo-0.81.0-ext}
7
8
-REPO=${1:-uvarc/rc-website}
9
-REPODIR=${REPO##*/}
10
-
11
-git clone --depth=50 --branch=$BRANCH https://github.com/${REPO}.git
12
-cd ${REPODIR}
+cd /site
13
mkdir public
14
15
if [ -f static/js/scripts.js ]; then
@@ -22,11 +17,6 @@ if [ -f static/js/user-session.js ]; then
22
17
yuicompressor --type js static/js/user-session.js > static/js/user-session.min.js
23
18
fi
24
19
25
-echo "-------------"
26
-echo $REPO
27
-echo $BRANCH
28
29
30
20
EXPIRES=`date '+%a, %d %b %Y %H:%M:%S GMT' -d "+1 day"`
31
21
echo "EXPIRES header set to: " $EXPIRES
32
0 commit comments