Merge pull request #1370 from smallrye/docs/split-in-workshop #544
This file contains 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: Main branch continuous integration and snapshots deployment | |
on: | |
push: | |
branches: | |
- "main" | |
concurrency: | |
group: "ci-cd-${{ github.workflow }}-${{ github.ref }}" | |
cancel-in-progress: true | |
jobs: | |
snapshot: | |
name: Deploy snapshots | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: 11 | |
distribution: temurin | |
cache: maven | |
- name: Build with Maven | |
run: ./mvnw -s .build/maven-ci-settings.xml -B clean verify | |
- name: Deploy snapshots | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SECRET_FILES_PASSPHRASE: ${{ secrets.SECRET_FILES_PASSPHRASE }} | |
run: | | |
.build/decrypt-secrets.sh | |
.build/deploy-snapshot.sh |