This commit is contained in:
parent
f8ed808281
commit
c2974c7c21
1 changed files with 5 additions and 6 deletions
|
@ -9,7 +9,7 @@ pipeline:
|
||||||
commands:
|
commands:
|
||||||
- pwd
|
- pwd
|
||||||
- echo "@fortawesome:registry=https://npm.fontawesome.com/" > .npmrc
|
- echo "@fortawesome:registry=https://npm.fontawesome.com/" > .npmrc
|
||||||
- echo "//npm.fontawesome.com/:_authToken=${FONTAWESOME_TOKEN}" >> .npmrc
|
- echo "//npm.fontawesome.com/:_authToken=$${FONTAWESOME_TOKEN}" >> .npmrc
|
||||||
- npm install
|
- npm install
|
||||||
- npm run production
|
- npm run production
|
||||||
|
|
||||||
|
@ -17,10 +17,9 @@ pipeline:
|
||||||
image: bash
|
image: bash
|
||||||
commands:
|
commands:
|
||||||
- apk add zip
|
- apk add zip
|
||||||
- rm -rf .git node_modules src
|
|
||||||
- cd ..
|
- cd ..
|
||||||
- zip -r ro.zip reitanlage-oranienburg
|
- "zip -r reitanlage-oranienburg-${DRONE_TAG}.zip reitanlage-oranienburg/
|
||||||
- mv ro.zip /drone/reitanlage-oranienburg/reitanlage-oranienburg-${DRONE_TAG}.zip
|
-x .git* .npmrc .woodpecker.yml package*.json node_modules"
|
||||||
|
|
||||||
release:
|
release:
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
|
@ -29,10 +28,10 @@ pipeline:
|
||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
base_url: https://git.serguzim.me
|
base_url: https://git.serguzim.me
|
||||||
files:
|
files:
|
||||||
- reitanlage-oranienburg-${DRONE_TAG}.zip
|
- /src/reitanlage-oranienburg-${DRONE_TAG}.zip
|
||||||
title: ${DRONE_TAG}
|
title: ${DRONE_TAG}
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
|
||||||
#branches: main
|
branches: main
|
||||||
|
|
Loading…
Reference in a new issue