Skip to content

Commit

Permalink
Tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
krystian-panek-vmltech committed Jul 29, 2024
1 parent dbc8382 commit 236ea8a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,17 @@ tasks:
publish:check:
desc: check health of AEM publish instance
cmd: curl -s -u "{{.AEM_PUBLISH_USER}}:{{.AEM_PUBLISH_PASSWORD}}" "{{.AEM_PUBLISH_HTTP_URL}}/libs/granite/core/content/login.html" | grep -q "QUICKSTART_HOMEPAGE"

build:
desc: build AEM package
cmd: mvn clean install

deploy:
desc: deploy AEM package to AEM instances
cmd: sh aemw package deploy --file "all/target/stubs.all-*.zip"

develop:
desc: build & deploy AEM packages to instances
cmds:
- task: build
- task: deploy

0 comments on commit 236ea8a

Please sign in to comment.