Try to fix pipeline 8
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Tobias Reisinger 2022-04-20 21:42:53 +02:00
parent 1736e8804d
commit d0480b5797
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE

View file

@ -7,17 +7,22 @@ pipeline:
image: node:16.0.0 image: node:16.0.0
secrets: [ fontawesome_token ] secrets: [ 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=$${FONTAWESOME_TOKEN}" >> .npmrc
#- echo "//npm.fontawesome.com/:_authToken=$${FONTAWESOME_TOKEN}" >> .npmrc - npm install
#- npm install - npm run production
#- npm run production when:
event:
- tag
prepare_zip: prepare_zip:
image: bitnami/git image: bitnami/git
commands: commands:
- git config --global --add safe.directory /src/reitanlage-oranienburg - git config --global --add safe.directory /src/reitanlage-oranienburg
- git archive --format=zip HEAD -o /src/reitanlage-oranienburg-${DRONE_TAG}.zip --prefix=reitanlage-oranienburg - git archive --format=zip HEAD -o /src/reitanlage-oranienburg-${CI_COMMIT_TAG}.zip --prefix=reitanlage-oranienburg
when:
event:
- tag
release: release:
image: plugins/gitea-release image: plugins/gitea-release
@ -26,8 +31,8 @@ pipeline:
from_secret: gitea_token from_secret: gitea_token
base_url: https://git.serguzim.me base_url: https://git.serguzim.me
files: files:
- /src/reitanlage-oranienburg-${DRONE_TAG}.zip - /src/reitanlage-oranienburg-${CI_COMMIT_TAG}.zip
title: ${DRONE_TAG} title: ${CI_COMMIT_TAG}
when: when:
event: event:
- tag - tag