From f19397a8dda66c348d378aea2489b226b6af21e3 Mon Sep 17 00:00:00 2001 From: Stephen Howells Date: Sun, 11 Jun 2017 19:44:05 -0700 Subject: [PATCH] removed legacy AWS deployment code --- .travis.yml | 1 - CNAME | 1 - Gemfile | 1 - Gemfile.lock | 21 -------------- _config.yml | 2 +- s3_website.yml | 75 -------------------------------------------------- 6 files changed, 1 insertion(+), 100 deletions(-) delete mode 100644 CNAME delete mode 100644 s3_website.yml diff --git a/.travis.yml b/.travis.yml index ad58638..66c61ee 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,6 @@ rvm: - 2.4.0 install: gem install bundler && bundle install script: bundle exec jekyll build -after_success: bundle exec s3_website push # safelist branches: diff --git a/CNAME b/CNAME deleted file mode 100644 index 9a1df60..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -stephenhowells.net diff --git a/Gemfile b/Gemfile index 15ca7fd..4b346d3 100644 --- a/Gemfile +++ b/Gemfile @@ -4,7 +4,6 @@ gem 'jekyll' gem 'jekyll-paginate' gem 'nokogiri' gem 'therubyracer' -gem 's3_website' gem 'scss_lint' # Test the build diff --git a/Gemfile.lock b/Gemfile.lock index 006035f..4801930 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -8,22 +8,9 @@ GEM tzinfo (~> 1.1) addressable (2.5.1) public_suffix (~> 2.0, >= 2.0.2) - aws-sdk (2.9.37) - aws-sdk-resources (= 2.9.37) - aws-sdk-core (2.9.37) - aws-sigv4 (~> 1.0) - jmespath (~> 1.0) - aws-sdk-resources (2.9.37) - aws-sdk-core (= 2.9.37) - aws-sigv4 (1.0.0) colorator (1.1.0) colored (1.2) concurrent-ruby (1.0.5) - configure-s3-website (2.0.0) - aws-sdk (~> 2) - deep_merge (~> 1.0.0) - deep_merge (1.0.1) - dotenv (1.0.2) ethon (0.10.1) ffi (>= 1.3.0) ffi (1.9.18) @@ -54,7 +41,6 @@ GEM sass (~> 3.4) jekyll-watch (1.5.0) listen (~> 3.0, < 3.1) - jmespath (1.3.1) kramdown (1.13.2) libv8 (3.16.14.19) liquid (3.0.6) @@ -76,11 +62,6 @@ GEM ffi (>= 0.5.0) ref (2.0.0) rouge (1.11.1) - s3_website (3.1.0) - colored (= 1.2) - configure-s3-website (= 2.0.0) - dotenv (~> 1.0) - thor (~> 0.18) safe_yaml (1.0.4) sass (3.4.24) scss_lint (0.53.0) @@ -89,7 +70,6 @@ GEM therubyracer (0.12.3) libv8 (~> 3.16.14.15) ref - thor (0.19.4) thread_safe (0.3.6) typhoeus (0.8.0) ethon (>= 0.8.0) @@ -106,7 +86,6 @@ DEPENDENCIES jekyll-paginate nokogiri rake - s3_website scss_lint therubyracer diff --git a/_config.yml b/_config.yml index dcae5aa..3ccccde 100644 --- a/_config.yml +++ b/_config.yml @@ -13,7 +13,7 @@ markdown_ext: markdown,md encoding: "utf-8" permalink: /:title/ paginate: 5 -exclude: ['README.md', 'Rakefile', 'Gemfile', 'Gemfile.lock', 'node_modules', 'gulpfile.js', 'package.json', 'scss-lint-config.yml', 's3_website'] +exclude: ['README.md', 'Rakefile', 'Gemfile', 'Gemfile.lock', 'node_modules', 'gulpfile.js', 'package.json', 'scss-lint-config.yml', yarn.lock] timezone: America/Phoenix kramdown: input: GFM diff --git a/s3_website.yml b/s3_website.yml deleted file mode 100644 index 84abcf1..0000000 --- a/s3_website.yml +++ /dev/null @@ -1,75 +0,0 @@ -s3_id: <%= ENV['S3_ACCESS_KEY_ID'] %> -s3_secret: <%= ENV['S3_SECRET_KEY'] %> -s3_bucket: <%= ENV['S3_BUCKET'] %> - -# Below are examples of all the available configurations. -# See README for more detailed info on each of them. - -# site: path-to-your-website - -index_document: index.html -error_document: 404.html - -max_age: - "css/*": <%= 60 * 60 * 24 * 7 %> - "js/*": <%= 60 * 60 * 24 * 7 %> - "img/*": <%= 60 * 60 * 24 * 365 %> - "*": <%= 60 * 60 %> - -gzip: true -# gzip: -# - .html -# - .css -# - .md -# - .json -# - .txt -# - .js -# - .xml -# - .ico -# - .markdown -# - .htm -# - .csv -# gzip_zopfli: true - -# See http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region for valid endpoints -s3_endpoint: us-east-1 - -# ignore_on_server: that_folder_of_stuff_i_dont_keep_locally - -# exclude_from_upload: -# - those_folders_of_stuff -# - i_wouldnt_want_to_upload - -# s3_reduced_redundancy: true - -cloudfront_distribution_id: <%= ENV['CLOUDFRONT_ID'] %> - -# This config option changed in s3_website 2.0, -# see https://github.com/laurilehmijoki/configure-s3-website/blob/master/changelog.md#200 -# -# cloudfront_distribution_config: -# default_cache_behavior: -# min_ttl: <%= 60 * 60 * 24 %> -# aliases: -# quantity: 1 -# items: -# - your.website.com - -cloudfront_invalidate_root: true - -cloudfront_wildcard_invalidation: true - -# concurrency_level: 5 - -# redirects: -# index.php: / -# about.php: about.html -# music-files/promo.mp4: http://www.youtube.com/watch?v=dQw4w9WgXcQ - -# routing_rules: -# - condition: -# key_prefix_equals: blog/some_path -# redirect: -# host_name: blog.example.com -# replace_key_prefix_with: some_new_path/ -# http_redirect_code: 301