From 5d2118afc8eb8af01b938607e696e4241c4fee4a Mon Sep 17 00:00:00 2001 From: Sebastian Frank Date: Wed, 2 Nov 2022 14:16:12 +0000 Subject: [PATCH] deploy --- .drone.yml | 40 ++++++++++++++++++++++++++++++++++++ docs/projektkonfig/fields.md | 3 +++ package.json | 2 +- yarn.lock | 8 ++++---- 4 files changed, 48 insertions(+), 5 deletions(-) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..9f2f6b7 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,40 @@ +kind: pipeline +type: docker +name: default + +steps: + - name: yarn install + image: node:18 + pull: if-not-exists + environment: + FORCE_COLOR: "true" + commands: + - yarn install + + - name: build + image: node:18 + pull: if-not-exists + environment: + FORCE_COLOR: "true" + commands: + - yarn build + + - name: deploy + image: instrumentisto/rsync-ssh + pull: if-not-exists + environment: + RSYNC_HOST: ftp1.basehosts.de + RSYNC_PORT: 22222 + RSYNC_USER: webmakers_tibi_docs_rsync_master + RSYNC_PASS: + from_secret: rsync_master + commands: + - < + rsync -rlcgD --perms -i -u -v --stats --progress + --delete + -e "sshpass -p $${RSYNC_PASS} ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p $${RSYNC_PORT}" + $${RSYNC_USER}@$${RSYNC_HOST}:./ + when: + branch: [master] + event: [push] + diff --git a/docs/projektkonfig/fields.md b/docs/projektkonfig/fields.md index c70e193..3ea0483 100644 --- a/docs/projektkonfig/fields.md +++ b/docs/projektkonfig/fields.md @@ -125,6 +125,8 @@ TODO ### text +### richText + ### number ### checkbox @@ -149,3 +151,4 @@ TODO ### objectArray +### tabs diff --git a/package.json b/package.json index b62b255..9ddaa6f 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "packageManager": "yarn@3.2.4", "devDependencies": { "docpress": "^0.8.2", - "tibi-types": "https://gitbase.de/cms/tibi-types.git#commit=746fa80a574d9c90679cbd6b2f79270bc67ab0f8" + "tibi-types": "https://gitbase.de/cms/tibi-types.git#commit=c795339d1c7c91266cafd8b5914a57972565939a" }, "scripts": { "serve": "docpress serve", diff --git a/yarn.lock b/yarn.lock index 01dc4ba..80844d3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6439,14 +6439,14 @@ __metadata: resolution: "tibi-docs@workspace:." dependencies: docpress: ^0.8.2 - tibi-types: "https://gitbase.de/cms/tibi-types.git#commit=746fa80a574d9c90679cbd6b2f79270bc67ab0f8" + tibi-types: "https://gitbase.de/cms/tibi-types.git#commit=c795339d1c7c91266cafd8b5914a57972565939a" languageName: unknown linkType: soft -"tibi-types@https://gitbase.de/cms/tibi-types.git#commit=746fa80a574d9c90679cbd6b2f79270bc67ab0f8": +"tibi-types@https://gitbase.de/cms/tibi-types.git#commit=c795339d1c7c91266cafd8b5914a57972565939a": version: 0.0.1 - resolution: "tibi-types@https://gitbase.de/cms/tibi-types.git#commit=746fa80a574d9c90679cbd6b2f79270bc67ab0f8" - checksum: baca1ff6b7a6d5563fc4c6db840077397b7ffa7f4d473c70689b73b076216939bdd9b3c034068914e8cb552b2a21f4cd52ed994da25de82326acf3fa3dff2eb9 + resolution: "tibi-types@https://gitbase.de/cms/tibi-types.git#commit=c795339d1c7c91266cafd8b5914a57972565939a" + checksum: 3e61433720b5e6cdf91191f23e76968a1e256729428656f91b3a8e94257c960d58ed22a432771f8302dad3f377cb45a5acce95bfc99b712b484e7b98ca2cd530 languageName: node linkType: hard