diff --git a/.github/workflows/deploy_test.yml b/.github/workflows/deploy_test.yml index cb069b0..e88e219 100644 --- a/.github/workflows/deploy_test.yml +++ b/.github/workflows/deploy_test.yml @@ -17,27 +17,6 @@ jobs: hugo-version: '0.59.1' extended: true - - name: Build GitHub Pages - run: hugo --minify -DEFb=https://msfjarvis.github.io/msfjarvis.website - - - name: Deploy to GitHub pages - uses: docker://peaceiris/gh-pages:latest - env: - ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }} - PUBLISH_BRANCH: gh-pages - PUBLISH_DIR: ./public - - - name: Audit live URL - uses: docker://jakejarvis/lighthouse-action:latest - with: - url: 'https://msfjarvis.github.io/msfjarvis.website/' - - - name: Upload results as an artifact - uses: actions/upload-artifact@master - with: - name: report - path: './report' - - name: Build staging run: hugo --minify -DEFb=https://staging.msfjarvis.website @@ -68,3 +47,14 @@ jobs: env: CF_API_KEY: ${{ secrets.CLOUDFLARE_API_KEY }} CF_ZONE_ID: ${{ secrets.CLOUDFLARE_ZONE_ID }} + + - name: Audit live URL + uses: docker://jakejarvis/lighthouse-action:latest + with: + url: 'https://msfjarvis.website/' + + - name: Upload results as an artifact + uses: actions/upload-artifact@master + with: + name: report + path: './report'