From e8ebcefd71bcb221f8ebcc641600fe7416fe66b3 Mon Sep 17 00:00:00 2001 From: Sniij <120099321+Sniij@users.noreply.github.com> Date: Tue, 23 May 2023 17:56:18 +0900 Subject: [PATCH] Delete webpack.yml --- .github/workflows/webpack.yml | 43 ----------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 .github/workflows/webpack.yml diff --git a/.github/workflows/webpack.yml b/.github/workflows/webpack.yml deleted file mode 100644 index ee088bec..00000000 --- a/.github/workflows/webpack.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: NodeJS with Webpack - -on: - push: - branches: [ "dev" ] - -defaults: - run: - working-directory: ./client #default working directory - -env: - AWS_REGION: ap-northeast-2 - S3_BUCKET_NAME: dowajoyak.shop - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - name: Use Node.js - uses: actions/setup-node@v3 - with: - node-version: 18.x - - - name: Build webpack - run: | - npm i - npm run build - - # Access Key와 Secret Access Key를 통해 권한을 확인합니다. - # 아래 코드에 Access Key와 Secret Key를 직접 작성하지 않습니다. - - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v1 - with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }} # 등록한 Github Secret이 자동으로 불려옵니다. - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} # 등록한 Github Secret이 자동으로 불려옵니다. - aws-region: ap-northeast-2 - - # 압축한 프로젝트를 S3로 전송합니다. - - name: Upload to AWS S3 - run: aws s3 cp --region ap-northeast-2 ./dist s3://$S3_BUCKET_NAME/ --recursive