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
|
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
|
||||||
|
|
Loading…
Reference in a new issue