diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 0983a48..acbb598 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -13,7 +13,6 @@ env: NGINX_WORKING_DIR: ./nginx APPLICATION_FILE_PATH: ./src/main/resources/application.yml FE_WORKING_DIR: ./fe - FE_ENV_PATH: ./.env FE_DOCKER_FILE_PATH: ./Dockerfile jobs: @@ -57,7 +56,6 @@ jobs: run: | touch '${{ env.APPLICATION_FILE_PATH }}' echo '${{ secrets.APPLICATION }}' > '${{ env.APPLICATION_FILE_PATH }}' - # 3. build 단계 - name: Grant execute permission for gradlew run: chmod +x ./gradlew @@ -72,7 +70,6 @@ jobs: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} docker build -f Dockerfile -t ${{ secrets.DOCKER_USERNAME }}/control-g-team-5-be:latest . docker push ${{ secrets.DOCKER_USERNAME }}/control-g-team-5-be:latest - fe-deploy: runs-on: ubuntu-latest defaults: @@ -90,11 +87,6 @@ jobs: with: node-version: "18" - # 2. .env 파일 변경 - - name: create .env File - run: | - echo "${{ secrets.ENV }}" > "${{ env.FE_ENV_PATH }}" - # 2. 도커파일 생성 - name: create Docker File run: |