Skip to content

Commit

Permalink
chore: cicd 개선
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoya324 committed Aug 12, 2024
1 parent 0855623 commit 6230c32
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ jobs:
uses: actions/checkout@v3

- name: Create and send .env file to EC2 instance
run: echo "DOCKER_REPO=${{ secrets.DOCKER_REPO }}" > .env && echo "IMAGE_TAG=develop-${{ github.run_number }}" >> .env
run: |
touch .env
echo "DOCKER_REPO=${{ secrets.DOCKER_REPO }}" > .env && echo "IMAGE_TAG=develop-${{ github.run_number }}" >> .env
- name: Copy .env and docker-compose into instance
uses: appleboy/scp-action@master
Expand Down

0 comments on commit 6230c32

Please sign in to comment.