-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
52 additions
and
49 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 |
---|---|---|
|
@@ -75,16 +75,6 @@ jobs: | |
path: .env | ||
remote_path: /home/${{ secrets.EC2_USERNAME }}/ | ||
|
||
- name: 서버로 traefik 정적 파일 전송 | ||
uses: burnett01/[email protected] | ||
with: | ||
switches: -avzr --delete | ||
remote_host: ${{ secrets.EC2_HOST }} | ||
remote_user: ${{ secrets.EC2_USERNAME }} | ||
remote_key: ${{ secrets.EC2_PRIVATE_KEY }} | ||
path: scripts/traefik.yml | ||
remote_path: /home/${{ secrets.EC2_USERNAME }}/ | ||
|
||
- name: 서버로 docker compose 파일 전송 | ||
uses: burnett01/[email protected] | ||
with: | ||
|
@@ -106,6 +96,5 @@ jobs: | |
envs: IMAGE_FULL_URL, DOCKERHUB_IMAGE_NAME # docker-compose.yml 에서 사용할 환경 변수 | ||
script: | | ||
echo "${{ secrets.DOCKERHUB_ACCESS_TOKEN }}" | docker login -u "${{ env.DOCKERHUB_USERNAME }}" --password-stdin | ||
docker container restart traefik | ||
docker compose down --remove-orphans | ||
docker compose up --build -d |
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
This file was deleted.
Oops, something went wrong.