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
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
- echo "@fortawesome:registry=https://npm.fontawesome.com/" > .npmrc
- echo "//npm.fontawesome.com/:_authToken=$${FONTAWESOME_TOKEN}" >> .npmrc
- npm install
- npm run production
when:
event:
- tag
prepare_zip:
image: bitnami/git
commands:
- 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:
image: plugins/gitea-release
@ -26,8 +31,8 @@ pipeline:
from_secret: gitea_token
base_url: https://git.serguzim.me
files:
- /src/reitanlage-oranienburg-${DRONE_TAG}.zip
title: ${DRONE_TAG}
- /src/reitanlage-oranienburg-${CI_COMMIT_TAG}.zip
title: ${CI_COMMIT_TAG}
when:
event:
- tag