Skip to content

Commit

Permalink
fix: Update github-action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jud1thDev authored Nov 11, 2024
1 parent 2663a5f commit 4c6b325
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/github-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,16 @@ jobs:

- name: Make application.yml
run: |
sudo mkdir -p ./bookduck/src/main/resources # 디렉토리가 없으면 생성
mkdir -p ./bookduck/src/main/resources # 디렉토리가 없으면 생성
cd ./bookduck/src/main/resources
touch ./application.yml
echo "${{ secrets.APPLICATION }}" > ./application.yml
- name: Make GCP Service Account Key
run: |
mkdir -p /home/ubuntu/bookduck/src/main/resources
cd /home/ubuntu/bookduck/src/main/resources
echo "${{ secrets.GCP_ACCESS_KEY_BASE64 }}" | base64 --decode > mmc-bookduck-ocr.json
shell: bash
sudo mkdir -p ./bookduck/src/main/resources
sudo touch ./bookduck/src/main/resources/application.yml
echo "${{ secrets.APPLICATION }}" | sudo tee ./bookduck/src/main/resources/application.yml
- name: Gradle Caching
uses: actions/cache@v3
Expand Down

0 comments on commit 4c6b325

Please sign in to comment.