From 5a59e24a31ccaaf4d203b1749b1dab80d3cfa293 Mon Sep 17 00:00:00 2001 From: Bart van der Braak Date: Sat, 10 Jun 2023 21:41:55 +0200 Subject: [PATCH] refactor: `deployment_status` trigger using secret --- .github/workflows/seo-report.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/seo-report.yaml b/.github/workflows/seo-report.yaml index 6de22eb..04a8f21 100644 --- a/.github/workflows/seo-report.yaml +++ b/.github/workflows/seo-report.yaml @@ -1,10 +1,7 @@ name: Unlighthouse SEO Reports on: - pull_request: - types: - - opened - - synchronize + deployment_status permissions: contents: read @@ -48,3 +45,5 @@ jobs: - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v2 + with: + token: ${{ secrets.GH_PAGES_TOKEN }}