Skip to content

Commit

Permalink
🔧 keystore 파일 트래킹 제외
Browse files Browse the repository at this point in the history
  • Loading branch information
RetepMil committed Oct 13, 2023
1 parent 1c782ac commit 71f7fb7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches:
- "develop"
- "main"
- "infra/https-config"
- "infra/**"
pull_request:
branches:
- "develop"
Expand Down Expand Up @@ -36,20 +36,19 @@ jobs:
${{ runner.os }}-gradle-
- name: Make 'application.yml'
# if: contains(github.ref, 'main')
run: |
cd ./src/main/resources
touch ./application.yml
echo "${{ secrets.APPLICATION_YML_DEV }}" | base64 --decode > ./application.yml
cat ./application.yml
shell: bash

- name: Make 'application.yml'
if: contains(github.ref, 'main')
- name: Make 'keystore.p12'
run: |
cd ./src/main/resources
touch ./application.yml
echo "${{ secrets.APPLICATION_YML }}" | base64 --decode > ./application.yml
cat ./application.yml
touch ./keystore.p12
echo "${{ secrets.KEYSTORE }}" | base64 --decode > ./keystore.p12
shell: bash

- name: Grant execute permission for gradlew
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ build/
!**/src/main/**/build/
!**/src/test/**/build/
application.yml
**/keystore.p12
**/keystore.p12.base64


### IntelliJ IDEA ###
.idea
Expand Down
Binary file removed src/main/resources/keystore.p12
Binary file not shown.

0 comments on commit 71f7fb7

Please sign in to comment.