diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 001117e..2069f20 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -534,3 +534,21 @@ lemans: when: manual tags: - deploy + +apidays: + stage: deployment + environment: + name: apidays + url: https://apidays.hubl.world + before_script: + - npm ci --cache .npm --prefer-offline --only=production + script: + - echo "$APP_CONFIG_APIDAYS" > config.json + - echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key + - npm run build + - scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* apidays@astral.startinblox.com:~/front/ + only: + - master + when: manual + tags: + - deploy diff --git a/src/dependencies.pug b/src/dependencies.pug index e111ca5..d6be127 100644 --- a/src/dependencies.pug +++ b/src/dependencies.pug @@ -11,7 +11,7 @@ script(type="module" src="https://unpkg.com/@startinblox/oidc@0.9" defer) script(type="module" src="https://unpkg.com/@startinblox/router@0.8" defer) //- script(type="module" src="/lib/solid-router/src/index.js" defer) -script(type="module" src="https://unpkg.com/@startinblox/component-notifications@0.5" defer) +script(type="module" src="https://unpkg.com/@startinblox/component-notifications@0.6.2" defer) //- script(type="module" src="/lib/sib-notifications/index.js" defer) if endpoints.events || (endpoints.get && endpoints.get.events)