Skip to content

Commit

Permalink
Refactor: properties 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
yso8296 committed Nov 14, 2024
1 parent 1213802 commit 94e4e1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
run: docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Docker 이미지 생성
run: docker build -t nullnull-server .
run: docker build -t nullnull-server . \
-e REDIRECT_URL=${{ secrets.REDIRECT_URL }}

- name: Docker 이미지에 Tag 붙이기
run: docker tag nullnull-server ${{ secrets.DOCKERHUB_USERNAME }}/nullnull-server:latest
Expand All @@ -47,6 +48,5 @@ jobs:
docker stop nullnull-server || true
docker rm nullnull-server || true
docker pull ${{ secrets.DOCKERHUB_USERNAME }}/nullnull-server:latest
docker run -d --name nullnull-server -p 8080:8080 ${{ secrets.DOCKERHUB_USERNAME }}/nullnull-server:latest \
-e REDIRECT_URL=${{ secrets.REDIRECT_URL }}
docker run -d --name nullnull-server -p 8080:8080 ${{ secrets.DOCKERHUB_USERNAME }}/nullnull-server:latest

0 comments on commit 94e4e1d

Please sign in to comment.