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