Commit 0b4d6a33 authored by Claudio W's avatar Claudio W 📖
Browse files

fix(ci): revert previous changes and update dependencies

parent c1ca7e48
......@@ -73,21 +73,12 @@ build:library:
- assets
expire_in: 1 day
rules:
- changes:
- src/
- package-lock.json
- package.json
- tailwind.config.js
- postcss.config.js
- gulpfile.js
when: always
build:docs:
stage: build:docs
needs:
- job: build:library
artifacts: true
image: ruby:2.7-slim
dependencies:
- build:library
before_script:
- *rubyInstallScript
script:
......@@ -100,22 +91,11 @@ build:docs:
- documentation/build
expire_in: 1 day
rules:
- changes:
- documentation/
- README.md
- src/
- package-lock.json
- package.json
- tailwind.config.js
- postcss.config.js
- gulpfile.js
when: always
pages:
stage: deploy
needs:
- job: build:docs
artifacts: true
dependencies:
- build:docs
image: alpine
script:
- rm -rf public
......@@ -125,15 +105,5 @@ pages:
- public
expire_in: 1 day
rules:
- if: '$CI_COMMIT_BRANCH != "main"'
when: never
- changes:
- documentation/
- README.md
- src/
- package-lock.json
- package.json
- tailwind.config.js
- postcss.config.js
- gulpfile.js
when: always
\ No newline at end of file
- if: '$CI_COMMIT_BRANCH == "main"'
when: always
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment