mirror of
https://github.com/cupcakearmy/liquet.git
synced 2024-12-22 16:16:25 +00:00
new bulid chaing
This commit is contained in:
parent
3a14bd776d
commit
c73f36990f
15
.drone.yml
15
.drone.yml
@ -3,6 +3,15 @@ name: default
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
- name: build
|
||||||
|
image:
|
||||||
|
pull: always
|
||||||
|
commands:
|
||||||
|
- node -v
|
||||||
|
- npm i
|
||||||
|
- npm run build
|
||||||
|
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: cupcakearmy/drone-deploy
|
image: cupcakearmy/drone-deploy
|
||||||
pull: always
|
pull: always
|
||||||
@ -13,9 +22,9 @@ steps:
|
|||||||
host: srv-0.nicco.io
|
host: srv-0.nicco.io
|
||||||
user: root
|
user: root
|
||||||
port: 1312
|
port: 1312
|
||||||
target: /srv/web/blog/liquet
|
target: /srv/web/blog
|
||||||
commands:
|
sources:
|
||||||
- git pull
|
- ./liquet
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
branch: master
|
branch: master
|
10
.gitignore
vendored
10
.gitignore
vendored
@ -1,3 +1,13 @@
|
|||||||
|
# Editor
|
||||||
.idea
|
.idea
|
||||||
|
|
||||||
|
# Docker
|
||||||
data/
|
data/
|
||||||
|
|
||||||
|
# Node
|
||||||
|
node_modules/
|
||||||
|
pnpm-lock.yaml
|
||||||
|
|
||||||
|
# Generated
|
||||||
|
.cache/
|
||||||
|
liquet/dist/
|
15
package.json
Normal file
15
package.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"private": true,
|
||||||
|
"scripts": {
|
||||||
|
"dev": "parcel watch --no-hmr --no-source-maps -d liquet/dist ./src/js/index.js ./src/styles/index.styl",
|
||||||
|
"build": "parcel build --no-source-maps -d liquet/dist ./src/js/index.js ./src/styles/index.styl"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"jquery": "^3.4.1",
|
||||||
|
"swup": "^2.0.7"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"parcel-bundler": "^1.12.3",
|
||||||
|
"stylus": "^0.54.7"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user