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