From 64fb23a93008b27cd0517906a68d231f08ce2300 Mon Sep 17 00:00:00 2001 From: kwanok noh <61671343+kwanok@users.noreply.github.com> Date: Sun, 7 Apr 2024 03:06:14 +0900 Subject: [PATCH] Hotfix: Deploy Pipeline (#4) --- .github/workflows/ci.yaml | 34 ------------------- .../elastic-beanstalk-deploy-prod.yaml | 8 ++--- 2 files changed, 4 insertions(+), 38 deletions(-) delete mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml deleted file mode 100644 index 165f6e0..0000000 --- a/.github/workflows/ci.yaml +++ /dev/null @@ -1,34 +0,0 @@ -name: Check Code Quality - -on: - push: - branches: [ "*" ] - paths: - - "project/*" - - -jobs: - build: - runs-on: ubuntu-latest - strategy: - matrix: - python-version: [ 3.12 ] - - steps: - - uses: actions/checkout@v2 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install black ruff - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - - - name: Run Black - run: black --check project - - - name: Run Ruff - run: ruff check project \ No newline at end of file diff --git a/.github/workflows/elastic-beanstalk-deploy-prod.yaml b/.github/workflows/elastic-beanstalk-deploy-prod.yaml index fcdbc51..32b5278 100644 --- a/.github/workflows/elastic-beanstalk-deploy-prod.yaml +++ b/.github/workflows/elastic-beanstalk-deploy-prod.yaml @@ -39,11 +39,11 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - - name: Rename docker-compose.prod.yml to docker-compose.yml - run: mv docker-compose.prod.yml docker-compose.yml + - name: Rename docker-compose-prod.yml to docker-compose.yml + run: mv docker-compose-prod.yml docker-compose.yml - - name: Remove docker-compose.dev.yml - run: rm -f docker-compose.dev.yml + - name: Remove docker-compose-dev.yml + run: rm -f docker-compose-dev.yml - name: Copy Elastic Beanstalk Config run: |