-
Notifications
You must be signed in to change notification settings - Fork 0
/
amplify.yml
29 lines (29 loc) · 813 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
26
27
28
29
version: 1
backend:
phases:
build:
commands:
# When needed, uncomment this line to clear the Amplify builder cache
# See https://github.com/aws-amplify/amplify-console/issues/229#issuecomment-552637405
# - envCache --set stackInfo ""
frontend:
phases:
preBuild:
commands:
- aws s3 cp s3://org.dltj.webmentions-cache webmentions-cache --recursive
- gem install bundler -v 2.4.22
- bundle config set --local path 'vendor/bundle'
- bundle install
build:
commands:
- bundle exec jekyll build --trace
postBuild:
commands:
- aws s3 cp webmentions-cache s3://org.dltj.webmentions-cache --recursive
artifacts:
baseDirectory: _site
files:
- '**/*'
cache:
paths:
- 'vendor/**/*'