This commit is contained in:
parent
5ee34366a0
commit
f8ed808281
1 changed files with 5 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue