Skip to content

Commit

Permalink
Update gradle.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
noeyoes authored Mar 2, 2024
1 parent 5357cee commit 260df0a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set YML
run: |
mkdir -p src/main/resources
echo "${{ secrets.APPLICATION_YML }}" | base64 --decode > src/main/resources/application.yml
echo "${{ secrets.APPLICATION_YML }}" > src/main/resources/application.yml
find src

Expand All @@ -37,7 +37,7 @@ jobs:



#------------------- Docker --------------------
#————————— Docker ——————————

# # Docker Image Build
# - name: Docker Image Build
Expand All @@ -56,7 +56,7 @@ jobs:



#------------------- EC2 --------------------
#————————— EC2 ——————————

# AWS EC2 Server Connect & Docker 명령어 실행
- name: AWS EC2 Connection
Expand All @@ -71,4 +71,4 @@ jobs:
sudo docker stop ${{ secrets.DOCKERHUB_IMAGENAME }}
sudo docker rm ${{ secrets.DOCKERHUB_IMAGENAME }}
sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_IMAGENAME }}
sudo docker run -it -d -p 8080:8080 --name ${{ secrets.DOCKERHUB_IMAGENAME }} -e TZ=Asia/Seoul ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_IMAGENAME }}
sudo docker run -it -d -p 8080:8080 ——————————name ${{ secrets.DOCKERHUB_IMAGENAME }} -e TZ=Asia/Seoul ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_IMAGENAME }}

0 comments on commit 260df0a

Please sign in to comment.