feat: Use webhooks #664
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Online Shop | |
| on: | |
| push: | |
| branches: [ "**" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Build with Docker | |
| run: docker compose build | |
| - name: Start with Docker | |
| run: docker compose up -d | |
| - name: Build customer-service | |
| run: mvn clean package -f customer-service/pom.xml pact:publish | |
| - name: Build billing-service | |
| run: mvn clean package -f billing-service/pom.xml | |
| - name: Build delivery-service | |
| run: mvn clean package -f delivery-service/pom.xml pact:publish | |
| - name: Build address-validation-service | |
| run: mvn clean package -f address-validation-service/pom.xml | |
| - name: Stop Docker Containers | |
| run: docker compose down |