From f8ed808281d2264f6f2145ca252ea646a0dbf7c3 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Wed, 20 Apr 2022 19:18:23 +0200 Subject: [PATCH] Try to fix pipeline 4 --- .woodpecker.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index eb46589..b9543ec 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,22 +1,20 @@ workspace: - base: /drone/reitanlage-oranienburg + base: /src/ + path: reitanlage-oranienburg/ pipeline: build_npm: image: node:16.0.0 - pull: always - environment: - FA_TOKEN: - from_secret: fontawesome_token + secrets: [ fontawesome_token ] commands: + - pwd - 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 run production prepare_zip: image: bash - pull: always commands: - apk add zip - rm -rf .git node_modules src