Skip to content

Commit 8fa19a9

Browse files
committed
[chore]to reconize deploy job to GitHub
1 parent a899fe3 commit 8fa19a9

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

.github/workflows/deploy.yaml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Deploy to AWS Maven Repository
33
on:
44
workflow_dispatch:
55
push:
6-
tags:
7-
- 'nulab-*'
6+
branches:
7+
- 'CASHEW_NUTS-748/deploy-github-actions'
88

99
permissions:
1010
id-token: write
@@ -17,22 +17,22 @@ jobs:
1717
- name: Checkout code
1818
uses: actions/checkout@v4
1919

20-
- name: Set up JDK
21-
uses: actions/setup-java@v4
22-
with:
23-
java-version: '21'
24-
distribution: 'temurin'
25-
cache: 'maven'
20+
# - name: Set up JDK
21+
# uses: actions/setup-java@v4
22+
# with:
23+
# java-version: '21'
24+
# distribution: 'temurin'
25+
# cache: 'maven'
2626

27-
- name: Configure AWS Credentials
28-
uses: aws-actions/configure-aws-credentials@main
29-
with:
30-
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
31-
aws-region: ${{ secrets.AWS_REGION }}
27+
# - name: Configure AWS Credentials
28+
# uses: aws-actions/configure-aws-credentials@main
29+
# with:
30+
# role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
31+
# aws-region: ${{ secrets.AWS_REGION }}
3232

33-
- name: Deploy flexmark-all to AWS Maven Repository
34-
env:
35-
MAVEN_REPOSITORY_ID: ${{ secrets.MAVEN_REPOSITORY_ID }}
36-
MAVEN_REPOSITORY_URL: ${{ secrets.MAVEN_REPOSITORY_URL }}
37-
run: |
38-
mvn deploy -pl flexmark-all -am -DskipTests=true
33+
# - name: Deploy flexmark-all to AWS Maven Repository
34+
# env:
35+
# MAVEN_REPOSITORY_ID: ${{ secrets.MAVEN_REPOSITORY_ID }}
36+
# MAVEN_REPOSITORY_URL: ${{ secrets.MAVEN_REPOSITORY_URL }}
37+
# run: |
38+
# mvn deploy -pl flexmark-all -am -DskipTests=true

0 commit comments

Comments
 (0)