-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[FIX] 외부 action 사용하여 fcm key-file 생성하도록 변경
- Loading branch information
Showing
4 changed files
with
37 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,13 +18,20 @@ jobs: | |
distribution: 'corretto' | ||
java-version: '17' | ||
|
||
- name: Create application.yml and application-prod.yml and websoso-fcm.json | ||
- name: Create application.yml and application-prod.yml | ||
run: | | ||
mkdir src/main/resources | ||
cd src/main/resources | ||
echo "${{ secrets.APPLICATION }}" > ./application.yml | ||
echo "${{ secrets.APPLICATION_PROD_DEVELOP }}" > ./application-prod.yml | ||
echo "${{ secrets.WEBSOSOFCM_JSON }}" > ./websoso-fcm.json | ||
- name: create-json | ||
id: create-json | ||
uses: jsdaniell/[email protected] | ||
with: | ||
name: "websoso-fcm.json" | ||
json: ${{ secrets.WEBSOSOFCM_JSON }} | ||
dir: 'src/main/resources/' | ||
|
||
- name: Create apple login key file | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,13 +18,20 @@ jobs: | |
distribution: 'corretto' | ||
java-version: '17' | ||
|
||
- name: Create application.yml and application-prod.yml and websoso-fcm.json | ||
- name: Create application.yml and application-prod.yml | ||
run: | | ||
mkdir src/main/resources | ||
cd src/main/resources | ||
echo "${{ secrets.APPLICATION }}" > ./application.yml | ||
echo "${{ secrets.APPLICATION_PROD }}" > ./application-prod.yml | ||
echo "${{ secrets.WEBSOSOFCM_JSON }}" > ./websoso-fcm.json | ||
- name: create-json | ||
id: create-json | ||
uses: jsdaniell/[email protected] | ||
with: | ||
name: "websoso-fcm.json" | ||
json: ${{ secrets.WEBSOSOFCM_JSON }} | ||
dir: 'src/main/resources/' | ||
|
||
- name: Create apple login key file | ||
env: | ||
|
@@ -43,7 +50,7 @@ jobs: | |
|
||
- name: Docker build Setting | ||
uses: docker/[email protected] | ||
|
||
- name: Docker hub Login | ||
uses: docker/[email protected] | ||
with: | ||
|
@@ -59,7 +66,7 @@ jobs: | |
needs: deploy-ci-release | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
steps: | ||
- name: Run Docker container | ||
uses: appleboy/ssh-action@master | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,14 @@ jobs: | |
cd src/main/resources | ||
echo "${{ secrets.APPLICATION }}" > ./application.yml | ||
echo "${{ secrets.APPLICATION_PROD_DEVELOP }}" > ./application-prod.yml | ||
echo "${{ secrets.WEBSOSOFCM_JSON }}" > ./websoso-fcm.json | ||
- name: create-json | ||
id: create-json | ||
uses: jsdaniell/[email protected] | ||
with: | ||
name: "websoso-fcm.json" | ||
json: ${{ secrets.WEBSOSOFCM_JSON }} | ||
dir: 'src/main/resources/' | ||
|
||
- name: Create apple login key file | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,13 +21,20 @@ jobs: | |
distribution: 'corretto' | ||
java-version: '17' | ||
|
||
- name: Create application.yml and application-prod.yml and websoso-fcm.json | ||
- name: Create application.yml and application-prod.yml | ||
run: | | ||
mkdir src/main/resources | ||
cd src/main/resources | ||
echo "${{ secrets.APPLICATION }}" > ./application.yml | ||
echo "${{ secrets.APPLICATION_PROD }}" > ./application-prod.yml | ||
echo "${{ secrets.WEBSOSOFCM_JSON }}" > ./websoso-fcm.json | ||
- name: create-json | ||
id: create-json | ||
uses: jsdaniell/[email protected] | ||
with: | ||
name: "websoso-fcm.json" | ||
json: ${{ secrets.WEBSOSOFCM_JSON }} | ||
dir: 'src/main/resources/' | ||
|
||
- name: Create apple login key file | ||
env: | ||
|