Created
March 14, 2022 02:08
-
-
Save davisdre/cb0eb45c60396dace021664dc0b281cb to your computer and use it in GitHub Desktop.
Here is the AWS CodeBuild buildspec.yml for Jekyll.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Do not change version. This is the version of aws buildspec, not the version of your buldspec file. | |
version: 0.2 | |
phases: | |
install: | |
runtime-versions: | |
ruby: latest | |
commands: | |
- echo Installing Jekyll... | |
- gem install jekyll bundler | |
- bundle install | |
build: | |
commands: | |
- echo Build started on `date` | |
- echo Generating Jekyll static site | |
- bundle exec jekyll build | |
post_build: | |
commands: | |
- echo Build completed on `date` | |
artifacts: | |
files: | |
- '**/*' | |
base-directory: '_site' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment