deploy
This commit is contained in:
parent
dedacfc168
commit
5d2118afc8
40
.drone.yml
Normal file
40
.drone.yml
Normal file
@ -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]
|
||||
|
@ -125,6 +125,8 @@ TODO
|
||||
|
||||
### text
|
||||
|
||||
### richText
|
||||
|
||||
### number
|
||||
|
||||
### checkbox
|
||||
@ -149,3 +151,4 @@ TODO
|
||||
|
||||
### objectArray
|
||||
|
||||
### tabs
|
||||
|
@ -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",
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user