diff --git a/.eleventy.js b/.eleventy.js new file mode 100644 index 0000000..41b43f2 --- /dev/null +++ b/.eleventy.js @@ -0,0 +1,11 @@ +export default function(eleventyConfig) { + // Copy textfiles to the output folder + eleventyConfig.addPassthroughCopy("src/**/*.txt"); + + return { + dir: { + input: "src", + output: "_site", + }, + }; +} diff --git a/justfile b/justfile index c4221c6..68fb8aa 100644 --- a/justfile +++ b/justfile @@ -1,5 +1,18 @@ -dev: - npx @11ty/eleventy --serve +INSTANCE_ID := 'instance-20250416-195354' + +default: dev + +clean: + rm -rf _site build: npx @11ty/eleventy + +dev: + npx @11ty/eleventy --serve + +deploy: + gcloud compute scp --recurse ./_site/* {{INSTANCE_ID}}:/var/www/crawfi.sh/ + +ssh: + gcloud compute ssh {{INSTANCE_ID}} diff --git a/index.html b/src/index.html similarity index 100% rename from index.html rename to src/index.html diff --git a/src/index.txt b/src/index.txt new file mode 100644 index 0000000..0937883 --- /dev/null +++ b/src/index.txt @@ -0,0 +1,8 @@ +┌───────────────────────────────────────────┐ +│ __ _ _ │ +│ ___ _ __ __ ___ __/ _(_) ___| |__ │ +│ / __| '__/ _` \ \ /\ / / |_| | / __| '_ \ │ +│| (__| | | (_| |\ V V /| _| |_\__ \ | | |│ +│ \___|_| \__,_| \_/\_/ |_| |_(_)___/_| |_|│ +│ │ +└───────────────────────────────────────────┘