diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 81f54c5..3463254 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,7 +4,7 @@ name: deploy-prod-to-github-pages on: # Runs on pushes targeting the default branch push: - branches: ['prod'] + branches: ["prod"] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -17,7 +17,7 @@ permissions: # Allow one concurrent deployment concurrency: - group: 'pages' + group: "pages" cancel-in-progress: true jobs: @@ -34,18 +34,18 @@ jobs: uses: actions/setup-node@v4 with: node-version: 20 - cache: 'npm' + cache: "yarn" - name: Install dependencies - run: npm ci + run: yarn install - name: Build - run: npm run build + run: yarn run build - name: Setup Pages uses: actions/configure-pages@v4 - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: # Upload dist folder - path: './dist' + path: "./dist" - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4