Skip to content
Snippets Groups Projects
Unverified Commit 55d423d0 authored by Alexander Harkness's avatar Alexander Harkness
Browse files

Deploy to azure (on all branches for now)

parent a8efc750
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,7 @@ stages:
- source_check
- build
- test
- deploy
check_format:
stage: source_check
......@@ -23,8 +24,18 @@ backend_build:
stage: build
script:
- npm run build
artifacts:
paths:
- .
backend_test:
stage: test
script:
- npm test
deploy:
stage: deploy
script:
- apt-get update -qq && apt-get install -qq zip
- zip -r application.zip * .[^.]*
- curl -X POST -u "$DEPLOYMENT_USERNAME:$DEPLOYMENT_PASSWORD" $DEPLOYMENT_ENDPOINT -T application.zip
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