Skip to content

Commit 325757c

Browse files
authored
Merge pull request #252 from /issues/160-refactor-eleventy
Refactor eleventy proposal.
2 parents 1c0e78e + f42e9e9 commit 325757c

File tree

5,451 files changed

+55791
-7442
lines changed

Some content is hidden

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

5,451 files changed

+55791
-7442
lines changed

.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
4+
5+
root = true
6+
7+
[*]
8+
indent_style = tab
9+
indent_size = 2
10+
end_of_line = lf
11+
charset = utf-8
12+
trim_trailing_whitespace = true
13+
insert_final_newline = true
14+
15+
[*.ya?ml]
16+
indent_style = space
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Deploy Eleventy on staging via rsync
2+
3+
on:
4+
push:
5+
branches: [staging]
6+
pull_request:
7+
branches: [staging]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
# Check-out the repository under $GITHUB_WORKSPACE.
14+
- uses: actions/checkout@master
15+
16+
- name: Install dependencies.
17+
run: npm ci
18+
19+
- name: Lint with fix.
20+
run: npx eslint --fix
21+
22+
# Build the website with Eleventy.
23+
- name: Build Eleventy.
24+
run: npm run build
25+
26+
# Rsync files via SSH.
27+
- name: Sync files with server.
28+
uses: burnett01/rsync-deployments@master
29+
with:
30+
switches: -rlD --delete --exclude='.htaccess'
31+
path: _site/
32+
remote_path: ${{ secrets.REMOTE_PATH_STAGING }}
33+
remote_host: ${{ secrets.REMOTE_HOST }}
34+
remote_port: ${{ secrets.REMOTE_PORT }}
35+
remote_user: ${{ secrets.REMOTE_USER }}
36+
remote_key: ${{ secrets.REMOTE_PRIVATE_KEY }}
37+
remote_key_pass: ${{ secrets.REMOTE_PRIVATE_KEY_PASS }}

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# npm
2+
/node_modules
3+
4+
# build
5+
/_site

2006.html

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

2007.html

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

2008.html

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

2009.html

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

2015.html

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

2020.html

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

2021.html

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

0 commit comments

Comments
 (0)