This commit is contained in:
parent
c923785a90
commit
e07c4e3111
5 changed files with 19 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,3 +1,3 @@
|
||||||
dist
|
dist
|
||||||
node_modules
|
node_modules
|
||||||
test.ts
|
ltests
|
|
@ -0,0 +1,2 @@
|
||||||
|
test.ts
|
||||||
|
ltests
|
15
.woodpecker.yml
Normal file
15
.woodpecker.yml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# .woodpecker.yml
|
||||||
|
platform: linux/arm64
|
||||||
|
|
||||||
|
pipeline:
|
||||||
|
build:
|
||||||
|
image: node:18-alpine
|
||||||
|
commands:
|
||||||
|
- apk add git
|
||||||
|
- npm install
|
||||||
|
- npm install https://jusax.de/git/jusax23/gitea-release.git
|
||||||
|
- mkdir build
|
||||||
|
- npm run prepublish
|
||||||
|
- ls dist
|
||||||
|
- npx gitea-release "https://jusax.de/git/api/v1/" "$${GITEA_TOKEN}" "$${CI_REPO}" "$${CI_COMMIT_BRANCH}" "$${CI_COMMIT_TAG}" "dist" "$${CI_COMMIT_MESSAGE}"
|
||||||
|
secrets: [ gitea_token ]
|
|
@ -13,8 +13,6 @@
|
||||||
],
|
],
|
||||||
"private": false,
|
"private": false,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "esbuild test.ts --bundle --outdir=dist",
|
|
||||||
"run": "npm run build && echo 'start:' && node dist/test.js",
|
|
||||||
"prepublish": "tsc"
|
"prepublish": "tsc"
|
||||||
},
|
},
|
||||||
"author": "jusax23",
|
"author": "jusax23",
|
||||||
|
|
1
readme.md
Normal file
1
readme.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
[![status-badge](https://ci.jusax.de/api/badges/jusax23/dblang/status.svg)](https://ci.jusax.de/jusax23/dblang)
|
Loading…
Reference in a new issue