This commit is contained in:
parent
862fd01fa6
commit
6a11f89208
3 changed files with 29 additions and 2 deletions
|
@ -9,5 +9,5 @@ pipeline:
|
||||||
- mkdir build
|
- mkdir build
|
||||||
- npm run build
|
- npm run build
|
||||||
- ls build
|
- ls build
|
||||||
- node publish.js https://jusax.de/git/api/v1/ "$${GITEA_TOKEN}" "$${CI_REPO}" "$${CI_COMMIT_BRANCH}" "$${CI_COMMIT_TAG}" "build" "$${CI_COMMIT_MESSAGE}"
|
- npx gitea-release "https://jusax.de/git/api/v1/" "$${GITEA_TOKEN}" "$${CI_REPO}" "$${CI_COMMIT_BRANCH}" "$${CI_COMMIT_TAG}" "build" "$${CI_COMMIT_MESSAGE}"
|
||||||
secrets: [ gitea_token ]
|
secrets: [ gitea_token ]
|
25
package-lock.json
generated
25
package-lock.json
generated
|
@ -11,6 +11,7 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"esbuild": "^0.15.12",
|
"esbuild": "^0.15.12",
|
||||||
"form-data": "^4.0.0",
|
"form-data": "^4.0.0",
|
||||||
|
"gitea-release": "git+https://jusax.de/git/jusax23/gitea-release.git",
|
||||||
"node-fetch": "^3.2.10",
|
"node-fetch": "^3.2.10",
|
||||||
"path": "^0.12.7"
|
"path": "^0.12.7"
|
||||||
}
|
}
|
||||||
|
@ -489,6 +490,20 @@
|
||||||
"node": ">=12.20.0"
|
"node": ">=12.20.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/gitea-release": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"resolved": "git+https://jusax.de/git/jusax23/gitea-release.git#bc438715c11aeef7cc8ae97fc1c785f21fe6f7f1",
|
||||||
|
"dev": true,
|
||||||
|
"license": "ISC",
|
||||||
|
"dependencies": {
|
||||||
|
"form-data": "^4.0.0",
|
||||||
|
"node-fetch": "^3.2.10",
|
||||||
|
"path": "^0.12.7"
|
||||||
|
},
|
||||||
|
"bin": {
|
||||||
|
"gitea-release": "upload.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/inherits": {
|
"node_modules/inherits": {
|
||||||
"version": "2.0.3",
|
"version": "2.0.3",
|
||||||
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
|
||||||
|
@ -833,6 +848,16 @@
|
||||||
"fetch-blob": "^3.1.2"
|
"fetch-blob": "^3.1.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"gitea-release": {
|
||||||
|
"version": "git+https://jusax.de/git/jusax23/gitea-release.git#bc438715c11aeef7cc8ae97fc1c785f21fe6f7f1",
|
||||||
|
"dev": true,
|
||||||
|
"from": "gitea-release@git+https://jusax.de/git/jusax23/gitea-release.git",
|
||||||
|
"requires": {
|
||||||
|
"form-data": "^4.0.0",
|
||||||
|
"node-fetch": "^3.2.10",
|
||||||
|
"path": "^0.12.7"
|
||||||
|
}
|
||||||
|
},
|
||||||
"inherits": {
|
"inherits": {
|
||||||
"version": "2.0.3",
|
"version": "2.0.3",
|
||||||
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
|
||||||
|
|
|
@ -10,7 +10,8 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"serveMenu": "esbuild example/menu/index.js --jsx-factory=s --loader:.js=jsx --loader:.html=text --bundle --minify --servedir=example/menu #--sourcemap",
|
"serveMenu": "esbuild example/menu/index.js --jsx-factory=s --loader:.js=jsx --loader:.html=text --bundle --minify --servedir=example/menu #--sourcemap",
|
||||||
"build": "esbuild stear/main.js --jsx-factory=s --loader:.js=jsx --loader:.html=text --bundle --minify --outdir=build"
|
"build": "esbuild stear/main.js --jsx-factory=s --loader:.js=jsx --loader:.html=text --bundle --minify --outdir=build",
|
||||||
|
"te": "gitea-release"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -25,6 +26,7 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"esbuild": "^0.15.12",
|
"esbuild": "^0.15.12",
|
||||||
"form-data": "^4.0.0",
|
"form-data": "^4.0.0",
|
||||||
|
"gitea-release": "git+https://jusax.de/git/jusax23/gitea-release.git",
|
||||||
"node-fetch": "^3.2.10",
|
"node-fetch": "^3.2.10",
|
||||||
"path": "^0.12.7"
|
"path": "^0.12.7"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue