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:
|
||||
|
||||
- name: build
|
||||
image:
|
||||
pull: always
|
||||
commands:
|
||||
- node -v
|
||||
- npm i
|
||||
- npm run build
|
||||
|
||||
|
||||
- name: deploy
|
||||
image: cupcakearmy/drone-deploy
|
||||
pull: always
|
||||
@ -13,9 +22,9 @@ steps:
|
||||
host: srv-0.nicco.io
|
||||
user: root
|
||||
port: 1312
|
||||
target: /srv/web/blog/liquet
|
||||
commands:
|
||||
- git pull
|
||||
target: /srv/web/blog
|
||||
sources:
|
||||
- ./liquet
|
||||
when:
|
||||
event: push
|
||||
branch: master
|
12
.gitignore
vendored
12
.gitignore
vendored
@ -1,3 +1,13 @@
|
||||
# Editor
|
||||
.idea
|
||||
|
||||
data/
|
||||
# Docker
|
||||
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