Skip to content

BACKLOG-23182: Add missing parameter for the Slack notif (#1761) #526

BACKLOG-23182: Add missing parameter for the Slack notif (#1761)

BACKLOG-23182: Add missing parameter for the Slack notif (#1761) #526

Workflow file for this run

# This workflow is triggered every time a change is pushed to any branches
# GitHub actions command reference: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
name: On merge to branch
# The workflow could also be triggered on PRs
on:
push:
branches:
- '3_x'
tags-ignore:
- '**'
jobs:
update-signature:
name: Update module signature
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: jahia/jahia-modules-action/update-signature@v2
with:
nexus_username: ${{ secrets.NEXUS_USERNAME }}
nexus_password: ${{ secrets.NEXUS_PASSWORD }}
nexus_enterprise_releases_url: ${{ secrets.NEXUS_ENTERPRISE_RELEASES_URL }}
build:
name: Build Module
needs: update-signature
runs-on: ubuntu-latest
env:
NEXUS_INTERNAL_URL: https://devtools.jahia.com/nexus/content/groups/internal/
container:
image: jahia/cimg-mvn-cache:ga_cimg_openjdk_8.0.312-node
credentials:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
steps:
- uses: actions/checkout@v2
- uses: jahia/jahia-modules-action/build@v2
with:
nexus_username: ${{ secrets.NEXUS_USERNAME }}
nexus_password: ${{ secrets.NEXUS_PASSWORD }}
module_id: content-editor
mvn_settings_filepath: '.github/maven.settings.xml'
publish:
name: Publish module
needs: build
if: github.ref == 'refs/heads/3_x'
runs-on: ubuntu-latest
env:
NEXUS_INTERNAL_URL: https://devtools.jahia.com/nexus/content/groups/internal/
container:
image: jahia/cimg-mvn-cache:ga_cimg_openjdk_8.0.312-node
credentials:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
steps:
- uses: actions/checkout@v2
- uses: jahia/jahia-modules-action/publish@v2
with:
nexus_username: ${{ secrets.NEXUS_USERNAME }}
nexus_password: ${{ secrets.NEXUS_PASSWORD }}
mvn_settings_filepath: '.github/maven.settings.xml'