Compare commits
No commits in common. "e70dcb59aed0243fc36035ce3678d9b821200715" and "2b7c4cbc0c31d315772109362868b2645e6d9262" have entirely different histories.
e70dcb59ae
...
2b7c4cbc0c
2 changed files with 8 additions and 5 deletions
10
.drone.yml
10
.drone.yml
|
@ -2,13 +2,17 @@ kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: arm
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: node
|
image: node
|
||||||
commands:
|
commands:
|
||||||
- npm install
|
- npm install
|
||||||
- npm run build
|
- npm run build
|
||||||
- name: deploy-dev
|
- name: deploy-develop
|
||||||
image: alpine
|
image: alpine
|
||||||
environment:
|
environment:
|
||||||
FTP_HOST:
|
FTP_HOST:
|
||||||
|
@ -25,7 +29,7 @@ steps:
|
||||||
- develop
|
- develop
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
- name: deploy
|
- name: deploy-master
|
||||||
image: alpine
|
image: alpine
|
||||||
environment:
|
environment:
|
||||||
FTP_HOST:
|
FTP_HOST:
|
||||||
|
@ -39,6 +43,6 @@ steps:
|
||||||
- lftp -e "set ftp:ssl-force true; set ssl:verify-certificate no; mirror -R ./dist/ sp-magic.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST
|
- lftp -e "set ftp:ssl-force true; set ssl:verify-certificate no; mirror -R ./dist/ sp-magic.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- master
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
|
@ -5,6 +5,5 @@
|
||||||
"baseBranches": [
|
"baseBranches": [
|
||||||
"develop"
|
"develop"
|
||||||
],
|
],
|
||||||
"rangeStrategy": "bump",
|
"rangeStrategy": "bump"
|
||||||
"rebaseWhen": "behind-base-branch"
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue