From 520ab5f4385c8f7c6e3f20439cb393c7615fe9ac Mon Sep 17 00:00:00 2001 From: Brain Date: Tue, 22 Nov 2022 20:33:04 +0100 Subject: [PATCH] Try to build site with Drone --- .drone.yml | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..7abe2c5 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,45 @@ +--- +kind: pipeline +type: docker +name: build + +trigger: + branch: + - main + event: + - push + - pull_request + +steps: + - name: lint + image: node:18 + commands: + - npm install + - npm run lint + - name: build + image: node:18 + commands: + - npm run build + +--- +kind: pipeline +type: docker +name: deploy + +trigger: + branch: + - main + event: + - push + +steps: + - name: build + image: node:18 + commands: + - npm install + - npm run build +--- +kind: signature +hmac: 6154618a4e25c2da0b4f8b39783abc0ab77b40fabab8f714d89438c21ffd6790 + +...