Compare commits

...

2 Commits

Author SHA1 Message Date
philipp lang 67dceeecb1 Add drone
continuous-integration/drone/push Build is passing Details
2024-10-09 20:17:09 +02:00
philipp lang a57bc749ea Update packages 2024-10-09 20:14:24 +02:00
3 changed files with 44 additions and 5 deletions

39
.drone.yml Normal file
View File

@ -0,0 +1,39 @@
kind: pipeline
type: docker
name: default
workspace:
path: /drone/nami
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: node
image: node:20.15.0-slim
commands:
- npm ci && npm run production && rm -R node_modules
- name: deploy
image: php:8.3.11
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/ stammsilva@zoomyboy.de:httpdocs/themes/vite-tailwind
- ssh stammsilva@zoomyboy.de "cd httpdocs && php8.3 artisan cache:clear"
trigger:
event:
- push
branch:
- master

8
package-lock.json generated
View File

@ -13,7 +13,7 @@
"alpinejs": "^3.14.1" "alpinejs": "^3.14.1"
}, },
"devDependencies": { "devDependencies": {
"@spiriit/vite-plugin-svg-spritemap": "^2.2.4", "@spiriit/vite-plugin-svg-spritemap": "2.2.4",
"autoprefixer": "^10.4.0", "autoprefixer": "^10.4.0",
"postcss": "^8.4.4", "postcss": "^8.4.4",
"postcss-import": "^16.0", "postcss-import": "^16.0",
@ -1193,9 +1193,9 @@
"integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA=="
}, },
"node_modules/electron-to-chromium": { "node_modules/electron-to-chromium": {
"version": "1.5.33", "version": "1.5.34",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.33.tgz", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.34.tgz",
"integrity": "sha512-+cYTcFB1QqD4j4LegwLfpCNxifb6dDFUAwk6RsLusCwIaZI6or2f+q8rs5tTB2YC53HhOlIbEaqHMAAC8IOIwA==", "integrity": "sha512-/TZAiChbAflBNjCg+VvstbcwAtIL/VdMFO3NgRFIzBjpvPzWOTIbbO8kNb6RwU4bt9TP7K+3KqBKw/lOU+Y+GA==",
"dev": true "dev": true
}, },
"node_modules/emoji-regex": { "node_modules/emoji-regex": {

View File

@ -15,7 +15,7 @@
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"devDependencies": { "devDependencies": {
"@spiriit/vite-plugin-svg-spritemap": "^2.2.4", "@spiriit/vite-plugin-svg-spritemap": "2.2.4",
"autoprefixer": "^10.4.0", "autoprefixer": "^10.4.0",
"postcss": "^8.4.4", "postcss": "^8.4.4",
"postcss-import": "^16.0", "postcss-import": "^16.0",