Skip to content

Commit

Permalink
Update cicd.yml
Browse files Browse the repository at this point in the history
env 생성 부분 삭제
  • Loading branch information
DOEKYONG authored Nov 2, 2023
1 parent 2c76e92 commit 89cea53
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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: |
Expand Down

0 comments on commit 89cea53

Please sign in to comment.