Compare commits
2 Commits
838b5a1cd2
...
67dceeecb1
Author | SHA1 | Date |
---|---|---|
philipp lang | 67dceeecb1 | |
philipp lang | a57bc749ea |
|
@ -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
|
|
@ -13,7 +13,7 @@
|
|||
"alpinejs": "^3.14.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@spiriit/vite-plugin-svg-spritemap": "^2.2.4",
|
||||
"@spiriit/vite-plugin-svg-spritemap": "2.2.4",
|
||||
"autoprefixer": "^10.4.0",
|
||||
"postcss": "^8.4.4",
|
||||
"postcss-import": "^16.0",
|
||||
|
@ -1193,9 +1193,9 @@
|
|||
"integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA=="
|
||||
},
|
||||
"node_modules/electron-to-chromium": {
|
||||
"version": "1.5.33",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.33.tgz",
|
||||
"integrity": "sha512-+cYTcFB1QqD4j4LegwLfpCNxifb6dDFUAwk6RsLusCwIaZI6or2f+q8rs5tTB2YC53HhOlIbEaqHMAAC8IOIwA==",
|
||||
"version": "1.5.34",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.34.tgz",
|
||||
"integrity": "sha512-/TZAiChbAflBNjCg+VvstbcwAtIL/VdMFO3NgRFIzBjpvPzWOTIbbO8kNb6RwU4bt9TP7K+3KqBKw/lOU+Y+GA==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/emoji-regex": {
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
"author": "",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"@spiriit/vite-plugin-svg-spritemap": "^2.2.4",
|
||||
"@spiriit/vite-plugin-svg-spritemap": "2.2.4",
|
||||
"autoprefixer": "^10.4.0",
|
||||
"postcss": "^8.4.4",
|
||||
"postcss-import": "^16.0",
|
||||
|
|
Loading…
Reference in New Issue