This commit is contained in:
parent
1ee7bb8630
commit
736053fb8b
1 changed files with 3 additions and 0 deletions
|
@ -51,6 +51,7 @@ steps:
|
||||||
- npm test
|
- npm test
|
||||||
- name: deploy to stage
|
- name: deploy to stage
|
||||||
image: drillster/drone-rsync
|
image: drillster/drone-rsync
|
||||||
|
secrets: ssh_key
|
||||||
settings:
|
settings:
|
||||||
hosts:
|
hosts:
|
||||||
- "minisforum.local"
|
- "minisforum.local"
|
||||||
|
@ -60,6 +61,8 @@ steps:
|
||||||
source: .
|
source: .
|
||||||
target: ~/apps/card-drop/card-drop_stage
|
target: ~/apps/card-drop/card-drop_stage
|
||||||
recursive: true
|
recursive: true
|
||||||
|
prescript:
|
||||||
|
- echo "$SSH_KEY" | tr -d '\r' | ssh-add -
|
||||||
script:
|
script:
|
||||||
- cd ~/apps/card-drop/card-drop_stage
|
- cd ~/apps/card-drop/card-drop_stage
|
||||||
- docker compose --file docker-compose.stage.yml up -d
|
- docker compose --file docker-compose.stage.yml up -d
|
||||||
|
|
Loading…
Reference in a new issue