diff --git a/.github/workflows/cd-feat.yaml b/.github/workflows/cd-feat.yaml deleted file mode 100644 index 89b8c08..0000000 --- a/.github/workflows/cd-feat.yaml +++ /dev/null @@ -1,50 +0,0 @@ -name: Manage S3 Buckets for Feature Branch PRs - -on: - pull_request: - types: [opened, closed] - branches: - - dev - -jobs: - cd: - runs-on: ubuntu-latest - - steps: - - name: Checkout the code - uses: actions/checkout@v3 - - - name: Set up Node.js - uses: actions/setup-node@v3 - with: - node-version: "18" # 프로젝트에서 사용하는 Node.js 버전에 맞게 설정 - - - name: Install dependencies - run: yarn install - - - name: Build project - run: yarn run build # Vite로 프로젝트를 빌드 - - - name: Set up AWS CLI - uses: aws-actions/configure-aws-credentials@v3 - with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: ap-northeast-2 - - - name: Handle S3 Buckets - env: - FEATURE_BRANCH: ${{ github.head_ref }} - S3_BUCKET: feat-${{ github.head_ref }} - run: | - if [ "${{ github.event.action }}" = "opened" ]; then - echo "Creating S3 bucket for feature branch: $S3_BUCKET" - aws s3api create-bucket --bucket $S3_BUCKET --region ap-northeast-2 --create-bucket-configuration LocationConstraint=ap-northeast-2 - aws s3 sync ./dist s3://$S3_BUCKET/ --delete - - elif [ "${{ github.event.action }}" = "closed" ] && [ "${{ github.event.pull_request.merged }}" = "true" ]; then - echo "Deleting S3 bucket for merged feature branch: $S3_BUCKET" - aws s3 rb s3://$S3_BUCKET --force - else - echo "No action needed" - fi diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml deleted file mode 100644 index ac4844c..0000000 --- a/.github/workflows/cd.yaml +++ /dev/null @@ -1,40 +0,0 @@ -name: Build and Upload to S3 - -on: - push: - branches: - - main - - dev - -jobs: - cd: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Set up Node.js - uses: actions/setup-node@v3 - with: - node-version: "18" # 프로젝트에서 사용하는 Node.js 버전에 맞게 설정 - - - name: Install dependencies - run: yarn install - - - name: Build project - run: yarn run build # Vite로 프로젝트를 빌드 - - - name: Set up AWS CLI - uses: aws-actions/configure-aws-credentials@v3 - with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: ap-northeast-2 - - - name: Determine S3 bucket name with branch name - id: determine-bucket - run: echo "bucket=zipline-fe-${{ github.ref_name }}" >> $GITHUB_ENV - - - name: Upload build folder to S3 - run: aws s3 sync ./dist s3://${{ env.bucket }}/ --delete diff --git a/src/index.css b/src/index.css index 08a3ac9..b5b6d36 100644 --- a/src/index.css +++ b/src/index.css @@ -5,7 +5,6 @@ color-scheme: light dark; color: rgba(255, 255, 255, 0.87); - background-color: #242424; font-synthesis: none; text-rendering: optimizeLegibility; @@ -15,7 +14,7 @@ a { font-weight: 500; - color: #646cff; + color: blue; text-decoration: inherit; } a:hover {