|
19 | 19 | uses: enonic/release-tools/build-and-publish@master |
20 | 20 | with: |
21 | 21 | skipPublishing: true |
22 | | - - id: deploy_app_to_XP |
23 | | - uses: 'enonic/action-app-deploy@main' |
24 | | - with: |
25 | | - url: ${{ secrets.ENONIC_PROD_URL }} |
26 | | - username: ${{ secrets.ENONIC_USER }} |
27 | | - password: ${{ secrets.ENONIC_PROD_PASS }} |
28 | | - client_cert: ${{ secrets.ENONIC_CERT }} |
29 | | - client_key: ${{ secrets.ENONIC_KEY }} |
30 | | - app_jar: "./build/libs/*.jar" |
31 | | - - name: Upload artifacts |
32 | | - id: upload_artifacts |
33 | | - if: success() |
34 | | - uses: actions/upload-artifact@v4 |
35 | | - with: |
36 | | - name: mimir-prod-${{ github.run_number }} |
37 | | - path: "./build/libs/*.jar" |
38 | 22 | - name: Get Version Number |
39 | 23 | id: get_version_number |
40 | 24 | run: | |
|
45 | 29 | run: gh release create $VERSION --generate-notes |
46 | 30 | env: |
47 | 31 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 32 | + - name: Upload artifacts |
| 33 | + id: upload_artifacts |
| 34 | + if: success() |
| 35 | + uses: actions/upload-artifact@v4 |
| 36 | + with: |
| 37 | + name: mimir-prod-${{ github.run_number }} |
| 38 | + path: "./build/libs/*.jar" |
| 39 | + - id: deploy_app_to_XP |
| 40 | + uses: 'enonic/action-app-deploy@main' |
| 41 | + with: |
| 42 | + url: ${{ secrets.ENONIC_PROD_URL }} |
| 43 | + username: ${{ secrets.ENONIC_USER }} |
| 44 | + password: ${{ secrets.ENONIC_PROD_PASS }} |
| 45 | + client_cert: ${{ secrets.ENONIC_CERT }} |
| 46 | + client_key: ${{ secrets.ENONIC_KEY }} |
| 47 | + app_jar: "./build/libs/*.jar" |
48 | 48 | - name: Send success message to Slack |
49 | 49 | id: slack_success |
50 | 50 | if: success() |
|
0 commit comments