forked from vsch/flexmark-java
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 991 Bytes
/
deploy.yaml
File metadata and controls
38 lines (32 loc) · 991 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Deploy to AWS Maven Repository
on:
workflow_dispatch:
push:
branches:
- 'CASHEW_NUTS-748/deploy-github-actions'
permissions:
id-token: write
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
# - name: Set up JDK
# uses: actions/setup-java@v4
# with:
# java-version: '21'
# distribution: 'temurin'
# cache: 'maven'
# - name: Configure AWS Credentials
# uses: aws-actions/configure-aws-credentials@main
# with:
# role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
# aws-region: ${{ secrets.AWS_REGION }}
# - name: Deploy flexmark-all to AWS Maven Repository
# env:
# MAVEN_REPOSITORY_ID: ${{ secrets.MAVEN_REPOSITORY_ID }}
# MAVEN_REPOSITORY_URL: ${{ secrets.MAVEN_REPOSITORY_URL }}
# run: |
# mvn deploy -pl flexmark-all -am -DskipTests=true