From 5ecd822eba17f7c0017bae3397785db853ad86e2 Mon Sep 17 00:00:00 2001 From: Devvrat Shukla Date: Sun, 2 Jun 2024 23:32:36 +0100 Subject: [PATCH] chore: deploying unlighthouse report to gh-pages --- .github/workflows/lighthouse-report.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lighthouse-report.yaml b/.github/workflows/lighthouse-report.yaml index 82041a2..357eab6 100644 --- a/.github/workflows/lighthouse-report.yaml +++ b/.github/workflows/lighthouse-report.yaml @@ -63,9 +63,11 @@ jobs: run: | npm run unlighthouse-ci - - name: Upload Unlighthouse report to artifact + - name: Deploy Unlighthouse report to GitHub Pages if: success() || failure() - uses: actions/upload-artifact@v4 + uses: crazy-max/ghaction-github-pages@v4 with: - name: unlighthouse-reports - path: .unlighthouse/ + target_branch: gh-pages + build_dir: .unlighthouse + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}