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