Skip to content
Snippets Groups Projects
Commit 1d8106c5 authored by Andreas Maier's avatar Andreas Maier
Browse files

Included release deployement

parent e89f6f56
No related branches found
No related tags found
No related merge requests found
Pipeline #11004 canceled
......@@ -40,11 +40,37 @@ build:
- dist
script:
- npm install
- npm run build
- npm run build:netex
dependencies:
- check:lint
# - check:test
deploy:release:
image: alpine/git
stage: deploy
when: manual
variables:
GITHUB_TOKEN: "$DRUGSTONE_DEPLOY_KEY"
dependencies:
- build
before_script:
- APP_NAME=drugstone
- ERSION_NAME="v9.0.1"
- FILENAME="$APP_NAME-v$VERSION_NAME"
- TAG="v{VERSION_NAME}
- TAG="latest-master"
script:
- echo $APP_NAME
- echo $VERSION_NAME
- echo $FILENAME
- echo $TAG
- mv drugstone-build/* ./
- mv styles.css drugstone.css
- git clone https://github.com/AndiMajore/drugstone-releases.git
- cd releases
- gh release delete $TAG
- gh release create -a ../$APP_NAME.* -m "Latest release of drugsTone $FILENAME -p $TAG"
deploy:dev:
image: docker
stage: deploy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment