Try to fix pipeline 5
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Tobias Reisinger 2022-04-20 19:47:45 +02:00
parent f8ed808281
commit c2974c7c21
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE

View file

@ -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