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