Skip to content

Commit

Permalink
Download artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
hussam-i-am committed Jan 7, 2025
1 parent d23b6f3 commit 1eeaea7
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/deploy_preview.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Deploy Preview
on:
workflow_run:
workflows: ['VRT Reports', 'AAT Reports']
types: completed
pull_request:

concurrency:
Expand All @@ -10,6 +13,7 @@ jobs:
build:
if: ${{ github.event.pull_request.head.repo.full_name == 'primer/react' }}
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -26,6 +30,23 @@ jobs:
with:
name: github-pages
path: docs/public
- name: Download VRT reports (All flags enabled)
uses: actions/download-artifact@v3
with:
name: vrt-all-flags
path: docs/public/vrt-vrt-all-flags
- name: Download VRT reports (No flags enabled)
uses: actions/download-artifact@v3
with:
name: vrt-no-flag
- name: Download AAT reports (All flags enabled)
uses: actions/download-artifact@v3
with:
name: aat-all-flags
- name: Download AAT reports (No flags enabled)
uses: actions/download-artifact@v3
with:
name: aat-no-flag

deploy-preview:
if: ${{ github.event.pull_request.head.repo.full_name == 'primer/react' }}
Expand Down

0 comments on commit 1eeaea7

Please sign in to comment.