From 10161a5f933d3b50cfe25d2ad572dc12d176c9c3 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Fri, 25 Oct 2024 17:58:02 +0200 Subject: [PATCH] Lint --- .drone.yml | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/.drone.yml b/.drone.yml index bdafb74..3f68171 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,32 +3,32 @@ type: docker name: default workspace: - path: /drone/nami + path: /drone/nami steps: - - name: node - image: node:18.13.0-slim - commands: - - npm ci && npm run production && rm -R node_modules + - name: node + image: node:18.13.0-slim + commands: + - npm ci && npm run production && rm -R node_modules - - name: deploy - image: php:8.1.6 - environment: - SSH_KEY: - from_secret: deploy_key - commands: - - apt-get update > /dev/null - - apt-get install -y openssh-client rsync - - mkdir $HOME/.ssh - - echo "UserKnownHostsFile=/dev/null" >> $HOME/.ssh/config - - echo "StrictHostKeyChecking=no" >> $HOME/.ssh/config - - echo "$SSH_KEY" > $HOME/.ssh/id_rsa - - chmod 600 $HOME/.ssh/id_rsa - - rsync --delete -avzze ssh /drone/nami/ disco-st-katharina@zoomyboy.de:httpdocs/themes/vite-tailwind - - ssh disco-st-katharina@zoomyboy.de "cd httpdocs && php8.1 artisan cache:clear" + - name: deploy + image: php:8.1.6 + environment: + SSH_KEY: + from_secret: deploy_key + commands: + - apt-get update > /dev/null + - apt-get install -y openssh-client rsync + - mkdir $HOME/.ssh + - echo "UserKnownHostsFile=/dev/null" >> $HOME/.ssh/config + - echo "StrictHostKeyChecking=no" >> $HOME/.ssh/config + - echo "$SSH_KEY" > $HOME/.ssh/id_rsa + - chmod 600 $HOME/.ssh/id_rsa + - rsync --delete -avzze ssh /drone/nami/ disco-st-katharina@zoomyboy.de:httpdocs/themes/vite-tailwind + - ssh disco-st-katharina@zoomyboy.de "cd httpdocs && php8.1 artisan cache:clear" trigger: - event: - - push - branch: - - master + event: + - push + branch: + - master