Skip to content
Snippets Groups Projects
Commit 83a93677 authored by Mathias Goebel's avatar Mathias Goebel :reminder_ribbon:
Browse files

Bugfix/test deployment

parent d3b50a31
No related branches found
No related tags found
1 merge request!96Bugfix/test deployment
......@@ -86,7 +86,7 @@ build_page-all:
VUE_APP_PUBLIC_PATH: '/ahiqar/website/${CI_COMMIT_REF_SLUG}/'
<<: *build-defaults
build_page-test:
build_page-test-backend:
variables:
VUE_APP_BASE_URL_API: "${API_TEST}"
VUE_APP_BASE_URL_VIEWER: "${TEST}"
......@@ -119,7 +119,7 @@ deploy-test:
- develop
- main
needs:
- job: build_page-test
- job: build_page-test-backend
artifacts: true
dependencies:
- build_page-test
......@@ -135,8 +135,9 @@ deploy-dev:
image: rsamban/scp-resource:latest
only:
- develop
dependencies:
- build_page-develop-backend
needs:
- job: build_page-develop-backend
artifacts: true
script:
- *ssh
# remove the old version from dev
......@@ -149,8 +150,9 @@ deploy-main:
image: rsamban/scp-resource:latest
only:
- main
dependencies:
- build_page-main-backend
needs:
- job: build_page-main-backend
artifacts: true
script:
- *ssh
- ssh -o 'StrictHostKeyChecking no' $SSH_USER@$SSH_IP "rm -rf ~/$CI_COMMIT_REF_NAME/frontend/website/*"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment