Skip to content

Commit 48c114b

Browse files
authored
Gatsby rewrite, merge with blog.hal.codes (#25)
1 parent b6778b4 commit 48c114b

File tree

148 files changed

+49906
-9176
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+49906
-9176
lines changed

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
trim_trailing_whitespace = true
8+
indent_style = tab
9+
indent_size = 2
10+
11+
[*.{json,yml,eslintrc}]
12+
indent_style = space

.eslintrc

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"parser": "@typescript-eslint/parser",
3+
"extends": [
4+
"plugin:react/recommended",
5+
"plugin:@typescript-eslint/recommended"
6+
],
7+
"plugins": [
8+
"@typescript-eslint",
9+
"import",
10+
"react"
11+
],
12+
"rules": {
13+
"quotes": [1, "single"],
14+
"jsx-quotes": 1,
15+
"semi": [1, "never"],
16+
"space-before-function-paren": [1, "never"],
17+
"space-in-parens": [1, "never"],
18+
"object-curly-spacing": [1, "always"],
19+
"@typescript-eslint/explicit-function-return-type": "off",
20+
"@typescript-eslint/explicit-module-boundary-types": "off"
21+
},
22+
"settings": {
23+
"react": {
24+
"version": "detect"
25+
}
26+
}
27+
}

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
gatsby-*.js linguist-vendored

.github/main.workflow

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
deploy:
10+
name: Deploy harbor.page
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: actions/setup-node@v2
15+
with:
16+
node-version: '12'
17+
- run: npm ci
18+
- run: npm run build
19+
- name: Configure AWS Credentials
20+
uses: aws-actions/configure-aws-credentials@v1
21+
with:
22+
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
23+
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
24+
aws-region: us-east-1
25+
- name: Deploy
26+
uses: jonelantha/gatsby-s3-action@v1
27+
with:
28+
dest-s3-bucket: ${{ secrets.S3_BUCKET }}
29+
cloudfront-id-to-invalidate: ${{ secrets.CLOUDFRONT_ID }}

.gitignore

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
Packages
2-
Toolchains
3-
.build
4-
xcuserdata
5-
*.xcodeproj
6-
DerivedData/
7-
.DS_Store
8-
*.sketch
91
node_modules/
10-
Public/codemirror/*
11-
Designs/
2+
.cache/
3+
public/
4+
__generated__

.swiftlint.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Lines changed: 0 additions & 7 deletions
This file was deleted.

Content/Projects/fore.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

Content/Projects/quartz-relaunch.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)