Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e04709a authored by Nicolas Gelot's avatar Nicolas Gelot
Browse files

Merge branch 'dev/publish-theme' into 'main'

add publish theme job

See merge request !213
parents a12d2e18 3a284163
Loading
Loading
Loading
Loading
+17 −9
Original line number Diff line number Diff line
stages:
  - test
  - build
  - performance
  - dast
  - publish
  - deploy

variables:
@@ -12,15 +14,21 @@ include:
  - project: "e/infra/ecloud/nextcloud-apps/ci-templates"
    ref: main
    file: "nc-apps-checkout-deploy.yml"
#  - project: "e/infra/ecloud/nextcloud-apps/ci-templates"
#    ref: main
#    file: "mr-review-tools.yml"
#  - project: "e/infra/ecloud/nextcloud-apps/ci-templates"
#    ref: main
#    file: "git-operations.yml"
#  - project: "e/infra/ecloud/nextcloud-apps/ci-templates"
#    ref: main
#    file: "populate-code-climate-default-config.yml"
  - project: "e/infra/ecloud/nextcloud-apps/ci-templates"
    ref: main
    file: "nc-publish-app.yml"

copy-theme-files:
  stage: build
  image: 
    name: alpine/git:v2.49.0
    entrypoint: [""]
  script:
    - mkdir -p dist/${APP_NAME}
    - git archive ${CI_COMMIT_SHA} | tar -x -C dist/${APP_NAME}
  artifacts:
    paths:
      - dist/

.deploy:nextcloud-app-by-checkout:
  script:
+4 −10
Original line number Diff line number Diff line
Nextcloud theme for /e/ - nextcloud V20 compatible version
# Murena Workspace theme for Nextcloud

## Installation

# Installation
Deploy theme in nextcloud/themes directory.

deploy theme in nextcloud/themes directory

use occ to update mimetypelist.js file and clear image cache : 
Use occ to update mimetypelist.js file and clear image cache: 

```
occ maintenance:theme:update
```


# License

The project is licensed under [AGPL](LICENSE).
+1 −1
Original line number Diff line number Diff line
@@ -129,7 +129,7 @@ class OC_Theme {
	 * @return string documentation link
	 */
	public function buildDocLinkToKey($key) {
		return $this->getDocBaseUrl() . '/server/27/go.php?to=' . $key;
		return $this->getDocBaseUrl() . '/server/29/go.php?to=' . $key;
	}