From 7296417738cbc4304a267e71a645e2c4842b7dca Mon Sep 17 00:00:00 2001 From: hojeong26 Date: Wed, 7 Aug 2024 19:28:48 +0900 Subject: [PATCH] =?UTF-8?q?ci.yml=ED=8C=8C=EC=9D=BC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 55 +------------------ .../CategoryProductsSection/index.tsx | 6 +- 2 files changed, 4 insertions(+), 57 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ace01a96e..e1a547354 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ on: # - "services/**" jobs: - build: + deploy: runs-on: ubuntu-latest steps: @@ -23,9 +23,6 @@ jobs: with: node-version: '18' - - name: Install Dependencies - run: npm install - - name: Build run: npm run build @@ -34,53 +31,3 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./build - - test: - runs-on: ubuntu-latest - - steps: - - name: Checkout Repository - uses: actions/checkout@v2 - - - name: Set up Node.js - uses: actions/setup-node@v2 - with: - node-version: '18' - - - name: Install Dependencies - run: npm install - - - name: Run Test - run: npm test - - deploy: - needs: build - runs-on: ubuntu-latest - - permissions: - contents: write - concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - steps: - - uses: actions/checkout@v3 - with: - submodules: true # Fetch Hugo themes (true OR recursive) - fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - - - name: Setup Hugo - uses: peaceiris/actions-hugo@v2 - with: - hugo-version: '0.110.0' - - - name: Build - run: hugo --minify - - - name: Deploy - uses: peaceiris/actions-gh-pages@v4 - # If you're changing the branch from main, - # also change the `main` in `refs/heads/main` - # below accordingly. - if: github.ref == 'refs/heads/main' - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./public \ No newline at end of file diff --git a/src/components/features/Category/CategoryProductsSection/index.tsx b/src/components/features/Category/CategoryProductsSection/index.tsx index 720fba0e1..d93946910 100644 --- a/src/components/features/Category/CategoryProductsSection/index.tsx +++ b/src/components/features/Category/CategoryProductsSection/index.tsx @@ -19,9 +19,9 @@ export const CategoryProductsSection = ({ categoryId }: Props) => { categoryId, }); - console.log('Fetched Data:', data); - console.log('isError:', isError); - console.log('isLoading:', isLoading); + // console.log('Fetched Data:', data); + // console.log('isError:', isError); + // console.log('isLoading:', isLoading); if (isLoading) return ; if (isError) return 에러가 발생했습니다.;