workspace: base: /src/ path: reitanlage-oranienburg/ pipeline: build_npm: image: node:16.0.0 secrets: [ fontawesome_token ] commands: - pwd - echo "@fortawesome:registry=https://npm.fontawesome.com/" > .npmrc - echo "//npm.fontawesome.com/:_authToken=${FONTAWESOME_TOKEN}" >> .npmrc - npm install - npm run production prepare_zip: image: bash commands: - apk add zip - rm -rf .git node_modules src - cd .. - zip -r ro.zip reitanlage-oranienburg - mv ro.zip /drone/reitanlage-oranienburg/reitanlage-oranienburg-${DRONE_TAG}.zip release: image: plugins/gitea-release settings: api_key: from_secret: gitea_token base_url: https://git.serguzim.me files: - reitanlage-oranienburg-${DRONE_TAG}.zip title: ${DRONE_TAG} when: event: - tag #branches: main