update drone
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
919ad62b41
commit
fd9bc0ce6f
46
.drone.yml
46
.drone.yml
|
@ -29,30 +29,30 @@ 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
|
||||||
# commands:
|
commands:
|
||||||
# - composer install --ignore-platform-reqs --no-dev
|
- composer install --ignore-platform-reqs --no-dev
|
||||||
#
|
|
||||||
# - name: node
|
- name: node
|
||||||
# image: node:17.9.0-slim
|
image: node:17.9.0-slim
|
||||||
# commands:
|
commands:
|
||||||
# - npm ci && npm run prod && npm run img && rm -R node_modules
|
- npm ci && npm run prod && npm run img && rm -R node_modules
|
||||||
|
|
||||||
- name: compress
|
- name: compress
|
||||||
image: php:7.3
|
image: php:7.3
|
||||||
|
|
Loading…
Reference in New Issue