Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/#67-CICD_과정_중_서브모듈을_사용하도록_수정 #68

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 15 additions & 9 deletions .github/workflows/deploy_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.ACTION_SUBMODULE_TOKEN }}


- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
Expand Down Expand Up @@ -61,24 +65,26 @@ jobs:
run: |
echo '${{ secrets.DOCKER_COMPOSE }}' >> docker-compose.yml

- name: Create application.yml
working-directory: ./src/main/resources
env:
APPLICATION_YML: ${{ secrets.APPLICATION_YML }}
run: |
echo '${{ secrets.APPLICATION_YML }}' > application.yml
echo '${{ secrets.APPLICATION_DEPLOY_YML }}' >> application-deploy.yml
# - name: Create application.yml
# working-directory: ./src/main/resources
# env:
# APPLICATION_YML: ${{ secrets.APPLICATION_YML }}
# run: |
# echo '${{ secrets.APPLICATION_YML }}' > application.yml
# echo '${{ secrets.APPLICATION_DEPLOY_YML }}' >> application-deploy.yml

- name: Start Containers
run: docker-compose -p doo-re up -d

- name: Gradle Build & Test
- name: Gradle Cache
uses: gradle/gradle-build-action@v2
with:
gradle-version: 8.5
arguments: build
cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'ref/heads/develop' }}

- name: Execute Gradle build
run: SPRING_PROFILES_ACTIVE= ./gradlew build

- run: java -Djarmode=layertools -jar build/libs/doore-0.0.1-SNAPSHOT.jar extract

- name: Compress
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/config
Loading