Compare commits
3 Commits
c078eaa6c5
...
a886d6575f
Author | SHA1 | Date | |
---|---|---|---|
a886d6575f | |||
8124b08b88 | |||
e80902e965 |
2
.gitignore
vendored
2
.gitignore
vendored
@ -0,0 +1,2 @@
|
|||||||
|
node_modules/
|
||||||
|
public/bundle.js*
|
@ -3,7 +3,11 @@
|
|||||||
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
build:
|
||||||
|
image: node:latest
|
||||||
|
commands:
|
||||||
|
- npm install
|
||||||
|
- npm run build
|
||||||
deploy:
|
deploy:
|
||||||
image: appleboy/drone-scp
|
image: appleboy/drone-scp
|
||||||
settings:
|
settings:
|
||||||
@ -14,6 +18,6 @@ steps:
|
|||||||
from_secret: ssh_user
|
from_secret: ssh_user
|
||||||
target:
|
target:
|
||||||
from_secret: path
|
from_secret: path
|
||||||
source: src/
|
source: public/
|
||||||
key:
|
key:
|
||||||
from_secret: ssh_key
|
from_secret: ssh_key
|
@ -5,7 +5,8 @@
|
|||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "webpack-dev-server --config webpack.config.js",
|
"start": "webpack-dev-server --config webpack.config.js",
|
||||||
"ex-trans": "i18next -c i18next-parser.config.js"
|
"ex-trans": "i18next -c i18next-parser.config.js",
|
||||||
|
"build": "webpack --config webpack.config.js"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Käfigrechner</title>
|
<title>Käfigrechner</title>
|
||||||
<link rel="stylesheet" href="assets/css/style.css">
|
<link rel="stylesheet" href="assets/css/style.css">
|
||||||
<script src="assets/calculator.js"></script>
|
<script src="assets/js/calculator.js"></script>
|
||||||
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="assets/favicon/apple-touch-icon.png">
|
<link rel="apple-touch-icon" sizes="180x180" href="assets/favicon/apple-touch-icon.png">
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="assets/favicon/favicon-32x32.png">
|
<link rel="icon" type="image/png" sizes="32x32" href="assets/favicon/favicon-32x32.png">
|
||||||
|
Loading…
Reference in New Issue
Block a user