From ea621e6cf78e9ce579150bd8a6ae49b0ce8c6a48 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sat, 10 Jun 2023 17:01:02 +0200 Subject: [PATCH] Feat: add hidden files --- .drone.yml | 32 ++++++++++++++++++++++++++++++++ .gitignore | 25 +++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 .drone.yml create mode 100644 .gitignore diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..077feb5 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,32 @@ +kind: pipeline +name: production +when: + event: [ push ] + branch: [ main ] + +clone: + git: + image: plugins/git + pull: true + +steps: + - name: build + image: node:latest + commands: + - npm i + - npx @11ty/eleventy + + - name: deploy + image: drillster/drone-rsync + settings: + hosts: + from_secret: deploy_host + target: /var/www/sonicgarden.kobold.cafe + source: _site/* + user: + from_secret: deploy_user + key: + from_secret: deploy_key + when: + branch: main + delete: true diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a8fe7ae --- /dev/null +++ b/.gitignore @@ -0,0 +1,25 @@ +# Generated files +package/generated* + +# Ignore installed npm modules +node_modules/ + +# Ignore build tool output, e.g. code coverage +.nyc_output/ +coverage/ + +# Ignore API documentation +api-docs/ + +# Ignore folders from source code editors +.vscode +.idea + +# Ignore eleventy output when doing manual tests +_site/ + +package-lock.json + +# Ignore test files +.cache +test/stubs-layout-cache/_includes/*.js \ No newline at end of file