Skip to content

Commit

Permalink
Update cicd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
YurimYang authored Dec 15, 2023
1 parent ba09bfb commit 3eb85e3
Showing 1 changed file with 20 additions and 12 deletions.
32 changes: 20 additions & 12 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,27 @@ jobs:
distribution: 'temurin'

# (+++) application.properties 생성
- name: make application.properties
run:
mkdir ./src/main/resources |
touch ./src/main/resources/application.properties
shell: bash
- name: deliver application.properties
run: echo "${{ secrets.PROPERTIES }}" > ./src/main/resources/application.properties
shell: bash
# - name: make application.properties
# run:
# mkdir ./src/main/resources |
# touch ./src/main/resources/application.properties
# shell: bash
# - name: deliver application.properties
# run: echo "${{ secrets.PROPERTIES }}" > ./src/main/resources/application.properties
# shell: bash

- uses: actions/upload-artifact@v2
with:
name: application.properties
path: ./src/main/resources/application.properties
# - uses: actions/upload-artifact@v2
# with:
# name: application.properties
# path: ./src/main/resources/application.properties

# (+++) application.yml 생성
- name: make application.yml
run: touch ./src/main/resources/application.yml
shell: bash
- name: deliver application.yml
run: echo "${{ secrets.APPLICATION }}" > ./src/main/resources/application.yml
shell: bash

# (3) gradlew 실행 권한부여
- name: Grant execute permission for gradlew
Expand Down

0 comments on commit 3eb85e3

Please sign in to comment.