Change static folder to js folder in gitlab-ci
This commit is contained in:
parent
13f7252dd7
commit
dd0b8b9a8b
1 changed files with 4 additions and 4 deletions
|
|
@ -9,7 +9,7 @@ stages:
|
||||||
.python-install-template: &python-install
|
.python-install-template: &python-install
|
||||||
before_script:
|
before_script:
|
||||||
- python3 -m venv .venv # NB this does not overwrite an existing cached venv
|
- python3 -m venv .venv # NB this does not overwrite an existing cached venv
|
||||||
- source .venv/bin/activate
|
- source .venv/bin/activate
|
||||||
- pip install pipenv # Should be cached after first run
|
- pip install pipenv # Should be cached after first run
|
||||||
- pipenv install --dev --deploy # Should be cached after first run - will just check packages are present
|
- pipenv install --dev --deploy # Should be cached after first run - will just check packages are present
|
||||||
cache:
|
cache:
|
||||||
|
|
@ -21,12 +21,12 @@ stages:
|
||||||
# Re-usable block to install (and cache) openflexure-microscope-server static app
|
# Re-usable block to install (and cache) openflexure-microscope-server static app
|
||||||
.node-install-template: &node-install
|
.node-install-template: &node-install
|
||||||
before_script:
|
before_script:
|
||||||
- cd openflexure_microscope/api/static/
|
- cd js/
|
||||||
- npm install
|
- npm install
|
||||||
cache:
|
cache:
|
||||||
key: "${CI_COMMIT_REF_SLUG}"
|
key: "${CI_COMMIT_REF_SLUG}"
|
||||||
paths:
|
paths:
|
||||||
- openflexure_microscope/api/static/node_modules
|
- js/node_modules
|
||||||
|
|
||||||
# Python static analysis with PyLint
|
# Python static analysis with PyLint
|
||||||
pylint:
|
pylint:
|
||||||
|
|
@ -162,7 +162,7 @@ build:
|
||||||
name: "dist"
|
name: "dist"
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
paths:
|
paths:
|
||||||
- "./openflexure_microscope/api/static/dist/"
|
- "js/"
|
||||||
|
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue