diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c6784360787..22e70ae4912 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -175,6 +175,12 @@ jobs: with: name: vrt-no-flag path: playwright-report + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v4 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./playwright-report + destination_dir: vert-no-flag - name: check vrt-runner job status if: ${{ needs.vrt-runner.result == 'failure' }} run: exit 1 @@ -253,6 +259,12 @@ jobs: with: name: vrt-all-flags path: playwright-report + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v4 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./playwright-report + destination_dir: vert-all-flags - name: check vrt-runner-all-flags job status if: ${{ needs.vrt-runner-all-flags.result == 'failure' }} run: exit 1 @@ -327,6 +339,12 @@ jobs: with: name: axe path: playwright-report + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v4 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./playwright-report + destination_dir: axe-no-flag - name: Check aat-runner job status if: ${{ needs.aat-runner.result == 'failure' }} run: exit 1 @@ -405,6 +423,12 @@ jobs: with: name: axe-all-flags path: playwright-report + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v4 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./playwright-report + destination_dir: axe-all-flags - name: Check aat-runner-all-flags job status if: ${{ needs.aat-runner-all-flags.result == 'failure' }} run: exit 1 diff --git a/.github/workflows/deploy_preview.yml b/.github/workflows/deploy_preview.yml index f8d7810bedd..2763549ab43 100644 --- a/.github/workflows/deploy_preview.yml +++ b/.github/workflows/deploy_preview.yml @@ -61,13 +61,13 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} environment: storybook-preview-${{ github.event.number }} - environment_url: '${{ needs.deploy-preview.outputs.deployment_url }}/storybook' + environment-url: '${{ needs.deploy-preview.outputs.deployment_url }}storybook' - name: Update storybook deployment status (success) if: success() uses: chrnorm/deployment-status@v2.0.3 with: token: ${{ secrets.GITHUB_TOKEN }} - environment-url: '${{ needs.deploy-preview.outputs.deployment_url }}/storybook' + environment-url: '${{ needs.deploy-preview.outputs.deployment_url }}storybook' state: 'success' deployment-id: ${{ steps.storybook.outputs.deployment_id }} - name: Update storybook deployment status (failure)