Try to fix pipeline 8
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
1736e8804d
commit
2e2f89a64b
1 changed files with 13 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue