Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converting site to lume #34

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Open
211 changes: 0 additions & 211 deletions .eleventy.js

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Publish

on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Setup Deno environment
uses: denoland/setup-deno@v1
with:
deno-version: v1.x

- name: Install lume
run: |
deno run -A https://deno.land/x/lume/install.ts
lume upgrade --dev

- name: Run lume
run: |
lume --location=https://exceptionless.github.io/website/

- name: Deploy
uses: crazy-max/ghaction-github-pages@v2
with:
build_dir: _site
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 3 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
node_modules/
_site/
.idea
content/assets/index.json
.DS_Store
_site
node_modules/
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

43 changes: 37 additions & 6 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,44 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch 11ty",
"program": "${workspaceFolder}\\node_modules\\@11ty\\eleventy\\cmd.js",
"name": "Lume build",
"type": "pwa-node",
"program": "${workspaceFolder}/_config.ts",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "deno",
"runtimeArgs": [
"run",
"--unstable",
"--import-map=.vscode/lume_import_map.json",
"--inspect",
"--allow-all"
],
"attachSimplePort": 9229
},
{
"request": "launch",
"name": "Lume serve",
"type": "pwa-node",
"program": "file://d:/Projects/Other/lume/cli.ts",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "deno",
"runtimeArgs": [
"run",
"--unstable",
"--import-map=.vscode/lume_import_map.json",
"--inspect",
"--allow-all",
"--reload"
],
"args": [
// "--output=C:\\Temp"
]
"--serve"
],
"attachSimplePort": 9229
}
]
}
}



5 changes: 5 additions & 0 deletions .vscode/lume_import_map.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"imports": {
"https://deno.land/x/lume/": "https://deno.land/x/[email protected]/"
}
}
43 changes: 9 additions & 34 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,11 @@
{
"cSpell.words": [
"Aliyun",
"Burcham",
"Foundatio",
"Geocode",
"Gmail",
"Kibana",
"Kubernetes",
"Lucene",
"Minio",
"OWIN",
"Reindex",
"Reindexing",
"Serilog",
"Trello",
"Varorbc",
"Zurb",
"Zurb's",
"adamsitnik",
"angularjs",
"caesay",
"deduplicated",
"deduplicating",
"edwardmeng",
"eleventy",
"exceptionless",
"frankebersoll",
"kubectl",
"pluggable",
"serializers",
"srijken",
"typeof",
"walkthrough"
]
"deno.enable": true,
"deno.lint": true,
"deno.unstable": true,
"deno.importMap": ".vscode/lume_import_map.json",
"deno.suggest.imports.hosts": {
"https://cdn.skypack.dev": true,
"https://cdn.jsdelivr.net": true,
"https://deno.land": true
}
}
Loading