From 1b010bf520e5f90481bd99e20456c49b722e6058 Mon Sep 17 00:00:00 2001 From: joojjang Date: Tue, 8 Oct 2024 11:01:09 +0900 Subject: [PATCH 1/4] =?UTF-8?q?chore(Mygallery):=20=ED=8F=B4=EB=8D=94=20?= =?UTF-8?q?=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Mygallery/index.tsx | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 src/pages/Mygallery/index.tsx diff --git a/src/pages/Mygallery/index.tsx b/src/pages/Mygallery/index.tsx deleted file mode 100644 index 12638d4..0000000 --- a/src/pages/Mygallery/index.tsx +++ /dev/null @@ -1,5 +0,0 @@ -const MyGallery = () => { - return <>; -}; - -export default MyGallery; From 77ed57f7000a13fb4c16a217c034ca2a055a2448 Mon Sep 17 00:00:00 2001 From: joojjang Date: Tue, 8 Oct 2024 11:01:53 +0900 Subject: [PATCH 2/4] =?UTF-8?q?chore(MyGallery):=20=EC=83=88=20=ED=8F=B4?= =?UTF-8?q?=EB=8D=94=20=EB=B0=8F=20index=20=ED=8C=8C=EC=9D=BC=20=EC=83=9D?= =?UTF-8?q?=EC=84=B1=20(=EB=8C=80=EC=86=8C=EB=AC=B8=EC=9E=90=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/MyGallery/index.tsx | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/pages/MyGallery/index.tsx diff --git a/src/pages/MyGallery/index.tsx b/src/pages/MyGallery/index.tsx new file mode 100644 index 0000000..64a03f8 --- /dev/null +++ b/src/pages/MyGallery/index.tsx @@ -0,0 +1,6 @@ +const MyGallery = () => { + return <>MyGallery; + }; + + export default MyGallery; + \ No newline at end of file From a375da37ae134ee01f740285b7a32c3e83c3bfe7 Mon Sep 17 00:00:00 2001 From: seung365 Date: Fri, 8 Nov 2024 15:13:39 +0900 Subject: [PATCH 3/4] =?UTF-8?q?build:=20s3=20=EB=B0=B0=ED=8F=AC=20ci=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/prod-ci.yml | 56 +++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 .github/workflows/prod-ci.yml diff --git a/.github/workflows/prod-ci.yml b/.github/workflows/prod-ci.yml new file mode 100644 index 0000000..6912b45 --- /dev/null +++ b/.github/workflows/prod-ci.yml @@ -0,0 +1,56 @@ +name: MASTER CI + +on: + push: + branches: + - Master + tags: + - "production-**" + +jobs: + Deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout source code + uses: actions/checkout@v3 + + - name: Setup PNPM + uses: pnpm/action-setup@v2 + with: + version: latest + + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: '18' + cache: 'pnpm' + + - name: Cache dependencies + uses: actions/cache@v3 + with: + path: | + **/node_modules + ~/.pnpm-store + key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} + restore-keys: | + ${{ runner.os }}-pnpm- + + - name: Install Dependencies + run: pnpm install + + - name: Build + run: pnpm build + + - name: Configure AWS Credentials + uses: aws-actions/configure-aws-credentials@v2 + with: + aws-access-key-id: ${{ secrets.AWS_S3_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_S3_SECRET_ACCESS_KEY_ID }} + aws-region: ap-northeast-2 + + - name: Deploy to S3 + run: aws s3 sync ./dist s3://${{ secrets.AWS_S3_BUCKET_NAME }} --delete + + - name: Invalidate CloudFront Cache + run: aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_CLOUDFRONT_ID }} --paths "/*" \ No newline at end of file From 4046b109725d0f9d8ef8ef9f230f388139ac2904 Mon Sep 17 00:00:00 2001 From: seung365 Date: Fri, 8 Nov 2024 15:17:59 +0900 Subject: [PATCH 4/4] =?UTF-8?q?chore(gitignore):=20dist=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index cbd4e39..807230e 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ # production /build +/dist # misc .DS_Store