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

This commit is contained in:
Tobias Reisinger 2022-04-20 19:18:23 +02:00
parent 5ee34366a0
commit f8ed808281
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE

View file

@ -1,22 +1,20 @@
workspace: workspace:
base: /drone/reitanlage-oranienburg base: /src/
path: reitanlage-oranienburg/
pipeline: pipeline:
build_npm: build_npm:
image: node:16.0.0 image: node:16.0.0
pull: always secrets: [ fontawesome_token ]
environment:
FA_TOKEN:
from_secret: fontawesome_token
commands: commands:
- pwd
- echo "@fortawesome:registry=https://npm.fontawesome.com/" > .npmrc - echo "@fortawesome:registry=https://npm.fontawesome.com/" > .npmrc
- echo "//npm.fontawesome.com/:_authToken=${FA_TOKEN}" >> .npmrc - echo "//npm.fontawesome.com/:_authToken=${FONTAWESOME_TOKEN}" >> .npmrc
- npm install - npm install
- npm run production - npm run production
prepare_zip: prepare_zip:
image: bash image: bash
pull: always
commands: commands:
- apk add zip - apk add zip
- rm -rf .git node_modules src - rm -rf .git node_modules src