1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-10-14 13:04:26 -04:00

revert CI changes and update index lastmod manually

This commit is contained in:
2019-03-31 11:26:56 -04:00
parent a74527774a
commit 244fcf862d
2 changed files with 7 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
image: python:3.7
image: python:3.6-alpine
variables:
HUGO_VERSION: '0.53' # https://github.com/gohugoio/hugo/releases
@@ -6,6 +6,9 @@ variables:
AWSCLI_VERSION: '1.16.21' # https://github.com/aws/aws-cli/blob/master/CHANGELOG.rst
before_script:
# update alpine
- apk update && apk add openssl coreutils
# download and install Hugo
- wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz
- echo "${HUGO_SHA} hugo_${HUGO_VERSION}_Linux-64bit.tar.gz" | sha256sum -c
@@ -18,7 +21,7 @@ deploy:
script:
# build site
- rm -rf public
- hugo --gc --enableGitInfo
- hugo --gc
# upload all files
- aws s3 sync ./public s3://$S3_BUCKET_NAME --delete --region us-east-1 --cache-control "max-age=86400, public" --metadata-directive "REPLACE"

View File

@@ -2,4 +2,5 @@
title = "Jake Jarvis Web & Mobile Developer in Boston, MA"
description = "I'm a full-stack web engineer and mobile developer based in Boston, Massachusetts specializing in modern JavaScript frameworks and iOS apps."
type = "home"
date = "2019-03-31"
+++