forked from aws-samples/streaming-analytics-workshop
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathamplify.yml
25 lines (25 loc) · 780 Bytes
/
amplify.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
version: 1.0
env:
variables:
VERSION_HUGO: 0.59.1
frontend:
phases:
build:
commands:
- env
- wget https://github.com/gohugoio/hugo/releases/download/v${VERSION_HUGO}/hugo_${VERSION_HUGO}_Linux-64bit.tar.gz
- tar -xvf hugo_${VERSION_HUGO}_Linux-64bit.tar.gz hugo
- mv -v hugo /usr/bin/hugo
- chmod +x /usr/bin/hugo
- ls -l /usr/bin/hugo
- rm -rvf hugo_${VERSION_HUGO}_Linux-64bit.tar.gz
- git submodule init && git submodule update
- echo "<p class="build-number">${AWS_COMMIT_ID}</p>" >> layouts/partials/menu-footer.html
- hugo -v
artifacts:
# IMPORTANT - Please verify your build output directory
baseDirectory: public
files:
- '**/*'
cache:
paths: []