From 244fcf862daf8085164866ec6481cc6ff1cc9e8c Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Sun, 31 Mar 2019 11:26:56 -0400 Subject: [PATCH] revert CI changes and update index lastmod manually --- .gitlab-ci.yml | 9 ++++++--- content/_index.md | 1 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 635c4255..ccc921e0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 @@ -14,11 +17,11 @@ before_script: # install awscli - pip install --quiet --no-cache-dir awscli==${AWSCLI_VERSION} -deploy: +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" diff --git a/content/_index.md b/content/_index.md index 29d1a413..923290d9 100644 --- a/content/_index.md +++ b/content/_index.md @@ -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" +++