update drone
continuous-integration/drone/push Build is failing Details

This commit is contained in:
philipp lang 2022-11-23 00:28:20 +01:00
parent 147f6af9d4
commit 919ad62b41
1 changed files with 16 additions and 16 deletions

View File

@ -29,20 +29,20 @@ workspace:
path: /drone/nami path: /drone/nami
steps: steps:
- name: submodules # - name: submodules
image: alpine/git # image: alpine/git
environment: # environment:
SSH_KEY: # SSH_KEY:
from_secret: private_key # from_secret: private_key
KNOWN_HOSTS: # KNOWN_HOSTS:
from_secret: known_hosts # from_secret: known_hosts
commands: # commands:
- mkdir $HOME/.ssh # - mkdir $HOME/.ssh
- echo "$SSH_KEY" > $HOME/.ssh/id_rsa # - echo "$SSH_KEY" > $HOME/.ssh/id_rsa
- echo "$KNOWN_HOSTS" > $HOME/.ssh/known_hosts # - echo "$KNOWN_HOSTS" > $HOME/.ssh/known_hosts
- cat $HOME/.ssh/known_hosts # - cat $HOME/.ssh/known_hosts
- chmod 600 $HOME/.ssh/id_rsa # - chmod 600 $HOME/.ssh/id_rsa
- git submodule update --init --recursive # - git submodule update --init --recursive
# - name: composer # - name: composer
# image: composer:2.2.7 # image: composer:2.2.7
@ -79,8 +79,8 @@ steps:
hosts: ['zoomyboy.de'] hosts: ['zoomyboy.de']
user: stammsilva user: stammsilva
source: ./ source: ./
target: ~/namineu target: ~/nami
include: ['app/*', 'resources/*', 'public/*', 'packages/*'] exclude: ['.git']
key: key:
from_secret: private_key from_secret: private_key
script: script: