13
.circleci/config.yml
Normal file
13
.circleci/config.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
# Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference
|
||||
version: 2.1
|
||||
# Use a package of configuration called an orb.
|
||||
orbs:
|
||||
# Declare a dependency on the welcome-orb
|
||||
welcome: circleci/welcome-orb@0.4.1
|
||||
# Orchestrate or schedule a set of jobs
|
||||
workflows:
|
||||
# Name the workflow "welcome"
|
||||
welcome:
|
||||
# Run the welcome/run job in its own container
|
||||
jobs:
|
||||
- welcome/run
|
||||
0
blog/archetypes/post/images/banner.svg
Normal file
0
blog/archetypes/post/images/banner.svg
Normal file
21
blog/archetypes/post/index.md
Normal file
21
blog/archetypes/post/index.md
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
images:
|
||||
- "images/banner.svg"
|
||||
authors:
|
||||
- "Daniel Tomlinson"
|
||||
tags:
|
||||
- "tag1"
|
||||
series:
|
||||
- "series"
|
||||
draft: true
|
||||
---
|
||||
|
||||
introductionary text
|
||||
|
||||
<!--more-->
|
||||
|
||||
## Header
|
||||
|
||||
Content
|
||||
17
blog/aws-commands.md
Normal file
17
blog/aws-commands.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# AWS Commands
|
||||
|
||||
## S3
|
||||
|
||||
### Sync contents of folder to bucket
|
||||
|
||||
`aws s3 sync . s3://prod-panaetius-blog-origin --delete --profile admin`
|
||||
|
||||
## Cloudfront
|
||||
|
||||
### Create invalidation
|
||||
|
||||
`aws cloudfront create-invalidation --distribution-id E2IHXIMPI3MZ2X --paths "/*" --profile admin`
|
||||
|
||||
### Get invalidation status
|
||||
|
||||
`aws cloudfront get-invalidation --distribution-id E2IHXIMPI3MZ2X --id I2IYTT15CTHJU0 --profile admin`
|
||||
@@ -3,5 +3,4 @@ title: "List of posts"
|
||||
description: "A list of all posts in chronological order."
|
||||
date: "2020-05-04T02:14:50+01:00"
|
||||
images: ["images/first_post.svg"]
|
||||
draft: true
|
||||
---
|
||||
|
||||
7274
blog/content/post/test_first/images/banner.svg
Normal file
7274
blog/content/post/test_first/images/banner.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 3.9 MiB |
26
blog/content/post/test_first/index.md
Normal file
26
blog/content/post/test_first/index.md
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
title: "Test Post"
|
||||
date: 2020-07-23T00:16:22+01:00
|
||||
images:
|
||||
- "images/banner.svg"
|
||||
authors:
|
||||
- "Daniel Tomlinson"
|
||||
tags:
|
||||
- "tag1"
|
||||
series:
|
||||
- "series"
|
||||
draft:
|
||||
- false
|
||||
---
|
||||
|
||||
CF Lambda@Edge only need the lambda_function_association setting on the CF instance for the default origin.
|
||||
|
||||
<!--more-->
|
||||
|
||||
## Header
|
||||
|
||||
Content
|
||||
|
||||
### Second Header
|
||||
|
||||
Hello 💁🏻♀️
|
||||
1
blog/create-new-post.md
Normal file
1
blog/create-new-post.md
Normal file
@@ -0,0 +1 @@
|
||||
hugo new --kind post post/postname
|
||||
@@ -27,7 +27,8 @@ async function buildSearch(cb) {
|
||||
|
||||
// Function to build the Hugo project
|
||||
async function buildHugo(cb) {
|
||||
await execFile("hugo", ["-D", "--minify"]);
|
||||
// await execFile("hugo", ["-D", "--minify"]);
|
||||
await execFile("hugo", ["--minify"]);
|
||||
}
|
||||
|
||||
// Function to minify images
|
||||
|
||||
Submodule blog/themes/panaetius-theme updated: 524a2be012...78641f4935
Reference in New Issue
Block a user