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:
@@ -1,4 +1,4 @@
|
|||||||
image: python:3.7
|
image: python:3.6-alpine
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
HUGO_VERSION: '0.53' # https://github.com/gohugoio/hugo/releases
|
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
|
AWSCLI_VERSION: '1.16.21' # https://github.com/aws/aws-cli/blob/master/CHANGELOG.rst
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
|
# update alpine
|
||||||
|
- apk update && apk add openssl coreutils
|
||||||
|
|
||||||
# download and install Hugo
|
# download and install Hugo
|
||||||
- wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz
|
- 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
|
- echo "${HUGO_SHA} hugo_${HUGO_VERSION}_Linux-64bit.tar.gz" | sha256sum -c
|
||||||
@@ -14,11 +17,11 @@ before_script:
|
|||||||
# install awscli
|
# install awscli
|
||||||
- pip install --quiet --no-cache-dir awscli==${AWSCLI_VERSION}
|
- pip install --quiet --no-cache-dir awscli==${AWSCLI_VERSION}
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
script:
|
script:
|
||||||
# build site
|
# build site
|
||||||
- rm -rf public
|
- rm -rf public
|
||||||
- hugo --gc --enableGitInfo
|
- hugo --gc
|
||||||
|
|
||||||
# upload all files
|
# 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"
|
- aws s3 sync ./public s3://$S3_BUCKET_NAME --delete --region us-east-1 --cache-control "max-age=86400, public" --metadata-directive "REPLACE"
|
||||||
|
@@ -2,4 +2,5 @@
|
|||||||
title = "Jake Jarvis – Web & Mobile Developer in Boston, MA"
|
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."
|
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"
|
type = "home"
|
||||||
|
date = "2019-03-31"
|
||||||
+++
|
+++
|
||||||
|
Reference in New Issue
Block a user