diff --git a/.github/workflows/cd-aws.yml b/.github/workflows/cd-aws.yml index a6607a40..49ee43f6 100644 --- a/.github/workflows/cd-aws.yml +++ b/.github/workflows/cd-aws.yml @@ -9,20 +9,6 @@ jobs: Deploy-Production: runs-on: ubuntu-latest steps: - - name: Checkout repository - uses: actions/checkout@v2 - - - name: Set up Node.js environment - uses: actions/setup-node@v2 - with: - node-version: '18' - - - name: Install dependencies - run: npm install - - - name: Build Next.js project - run: npm run build - - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v3 with: diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 57d5161a..44c72421 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -1,7 +1,10 @@ name: 'Chromatic Deployment' # Event for the workflow -on: push +on: + push: + branches: + - main # List of jobs jobs: