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: ubuntu commands: - apt update - apt install -y zip - cd .. - "zip -r reitanlage-oranienburg-${DRONE_TAG}.zip reitanlage-oranienburg/ -x .git* .npmrc .woodpecker.yml package*.json node_modules" release: image: plugins/gitea-release settings: api_key: from_secret: gitea_token base_url: https://git.serguzim.me files: - /src/reitanlage-oranienburg-${DRONE_TAG}.zip title: ${DRONE_TAG} when: event: - tag branches: main