Skip to content

Commit 6280bf3

Browse files
🏗✨:migrate to eleventy #1476
Fixes: #1462 PR URL: #1476 Reviewed-by: OpenINF-bot <openinfbot@open.inf.is> --------- Signed-off-by: Derek Lewis <dereknongeneric@open.inf.is>
1 parent 76312e9 commit 6280bf3

File tree

98 files changed

+1569
-773
lines changed

Some content is hidden

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

98 files changed

+1569
-773
lines changed

.eleventyignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
_assets/
2+
.github/
3+
**/LICENSE/**
4+
**/README.md
5+
tools/

.github/workflows/deploy.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Build and deploy the Eleventy site to GitHub Pages.
2+
name: Deploy Eleventy site to Pages
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
workflow_dispatch:
9+
10+
permissions:
11+
contents: read
12+
pages: write
13+
id-token: write
14+
15+
concurrency:
16+
group: pages
17+
cancel-in-progress: false
18+
19+
jobs:
20+
deploy:
21+
environment:
22+
name: github-pages
23+
url: ${{ steps.deployment.outputs.page_url }}
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Check out project repository
27+
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
28+
- name: Set up Node.js runtime
29+
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
30+
with:
31+
node-version-file: 'package.json'
32+
- name: Install
33+
run: |
34+
corepack enable
35+
corepack prepare pnpm@latest --activate
36+
pnpm install
37+
echo "$(pwd)/node_modules/.bin" >> $GITHUB_PATH
38+
- name: Build
39+
run: nps build
40+
- name: Setup Pages
41+
id: pages
42+
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
43+
- name: Upload artifact
44+
uses: actions/upload-pages-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
45+
with:
46+
path: _site
47+
- name: Deploy to GitHub Pages
48+
id: deployment
49+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,8 @@
183183
".renovaterc.json5": "json5",
184184
"*.scss": "scss",
185185
".snyk": "yaml",
186-
"*.html": "liquid"
186+
"*.html": "liquid",
187+
".eleventyignore": "ignore"
187188
},
188189

189190
// Configure glob patterns for excluding files and folders. For example, the

CNAME

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)