remove husky
All checks were successful
Build / publish (push) Successful in 48s

This commit is contained in:
2024-07-14 16:03:00 +02:00
parent 3a433e6085
commit 5af4e6d4f8
4 changed files with 3 additions and 36 deletions

View File

@@ -1 +0,0 @@
npm run deploy

View File

@@ -1,13 +0,0 @@
#!/bin/sh
echo "Building website"
docker build -t website --platform linux/amd64 .
echo "Tagging and pushing website"
docker tag website azura:5000/website
docker push azura:5000/website
echo "Pushed website to registry"
echo "Deploying website"
ssh azura "cd server && docker compose pull && docker compose up -d"

18
package-lock.json generated
View File

@@ -22,8 +22,7 @@
"@iconify-json/logos": "^1.1.42", "@iconify-json/logos": "^1.1.42",
"@iconify-json/mdi": "^1.1.64", "@iconify-json/mdi": "^1.1.64",
"@iconify-json/skill-icons": "^1.1.8", "@iconify-json/skill-icons": "^1.1.8",
"@iconify-json/vscode-icons": "^1.1.33", "@iconify-json/vscode-icons": "^1.1.33"
"husky": "^9.0.11"
} }
}, },
"node_modules/@alloc/quick-lru": { "node_modules/@alloc/quick-lru": {
@@ -3533,21 +3532,6 @@
"node": ">=16.17.0" "node": ">=16.17.0"
} }
}, },
"node_modules/husky": {
"version": "9.0.11",
"resolved": "https://registry.npmjs.org/husky/-/husky-9.0.11.tgz",
"integrity": "sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw==",
"dev": true,
"bin": {
"husky": "bin.mjs"
},
"engines": {
"node": ">=18"
},
"funding": {
"url": "https://github.com/sponsors/typicode"
}
},
"node_modules/ieee754": { "node_modules/ieee754": {
"version": "1.2.1", "version": "1.2.1",
"resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",

View File

@@ -7,9 +7,7 @@
"start": "astro dev", "start": "astro dev",
"build": "astro check && astro build", "build": "astro check && astro build",
"preview": "astro preview", "preview": "astro preview",
"astro": "astro", "astro": "astro"
"deploy": "sh deploy.sh",
"prepare": "husky"
}, },
"dependencies": { "dependencies": {
"@astrojs/check": "^0.5.9", "@astrojs/check": "^0.5.9",
@@ -26,7 +24,6 @@
"@iconify-json/logos": "^1.1.42", "@iconify-json/logos": "^1.1.42",
"@iconify-json/mdi": "^1.1.64", "@iconify-json/mdi": "^1.1.64",
"@iconify-json/skill-icons": "^1.1.8", "@iconify-json/skill-icons": "^1.1.8",
"@iconify-json/vscode-icons": "^1.1.33", "@iconify-json/vscode-icons": "^1.1.33"
"husky": "^9.0.11"
} }
} }