@@ -32,26 +32,16 @@ jobs:
3232 run : npm ci
3333 - name : Build docs preview
3434 run : npm run build:docs:preview
35- - name : Download VRT reports (All flags enabled)
35+ - name : Download VRT reports
3636 uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
3737 with :
38- name : vrt-all-flags
39- path : docs/public/vrt-all-flags
40- - name : Download VRT reports (No flags enabled)
38+ name : vrt
39+ path : docs/public/vrt
40+ - name : Download AAT reports
4141 uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
4242 with :
43- name : vrt-no-flag
44- path : docs/public/vrt-no-flag
45- - name : Download AAT reports (All flags enabled)
46- uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
47- with :
48- name : axe-all-flags
49- path : docs/public/aat-all-flags
50- - name : Download AAT reports (No flags enabled)
51- uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
52- with :
53- name : axe
54- path : docs/public/aat-no-flag
43+ name : aat
44+ path : docs/public/aat
5545 - uses : actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa
5646 with :
5747 name : github-pages
@@ -106,127 +96,3 @@ jobs:
10696 token : ${{ secrets.GITHUB_TOKEN }}
10797 state : ' failure'
10898 deployment-id : ${{ steps.storybook.outputs.deployment_id }}
109-
110- # deploy-vrt-no-flag:
111- # name: VRT (No flags enabled)
112- # if: ${{ always() && github.event.pull_request.head.repo.full_name == 'primer/react' }}
113- # needs: [deploy-preview]
114- # permissions:
115- # deployments: write
116- # runs-on: ubuntu-latest
117- # steps:
118- # - uses: chrnorm/deployment-action@55729fcebec3d284f60f5bcabbd8376437d696b1
119- # name: Create GitHub deployment for vrt-no-flag
120- # id: vrt-no-flag
121- # with:
122- # token: ${{ secrets.GITHUB_TOKEN }}
123- # environment: vrt-no-flag-${{ github.event.number }}
124- # environment-url: '${{ needs.deploy-preview.outputs.deployment_url }}vrt-no-flag'
125- # - name: Update vrt-no-flag deployment status (success)
126- # if: success()
127- # uses: chrnorm/deployment-status@9a72af4586197112e0491ea843682b5dc280d806
128- # with:
129- # token: ${{ secrets.GITHUB_TOKEN }}
130- # environment-url: '${{ needs.deploy-preview.outputs.deployment_url }}vrt-no-flag'
131- # state: 'success'
132- # deployment-id: ${{ steps.vrt-no-flag.outputs.deployment_id }}
133- # - name: Update vrt-no-flag deployment status (failure)
134- # if: failure()
135- # uses: chrnorm/deployment-status@9a72af4586197112e0491ea843682b5dc280d806
136- # with:
137- # token: ${{ secrets.GITHUB_TOKEN }}
138- # state: 'failure'
139- # deployment-id: ${{ steps.vrt-no-flag.outputs.deployment_id }}
140-
141- # deploy-vrt-all-flags:
142- # name: VRT (All flags enabled)
143- # if: ${{ always() && github.event.pull_request.head.repo.full_name == 'primer/react' }}
144- # needs: deploy-preview
145- # permissions:
146- # deployments: write
147- # runs-on: ubuntu-latest
148- # steps:
149- # - uses: chrnorm/deployment-action@55729fcebec3d284f60f5bcabbd8376437d696b1
150- # name: Create GitHub deployment for vrt-all-flags
151- # id: vrt-all-flags
152- # with:
153- # token: ${{ secrets.GITHUB_TOKEN }}
154- # environment: vrt-all-flags-${{ github.event.number }}
155- # environment-url: '${{ needs.deploy-preview.outputs.deployment_url }}vrt-all-flags'
156- # - name: Update vrt-all-flags deployment status (success)
157- # if: success()
158- # uses: chrnorm/deployment-status@9a72af4586197112e0491ea843682b5dc280d806
159- # with:
160- # token: ${{ secrets.GITHUB_TOKEN }}
161- # environment-url: '${{ needs.deploy-preview.outputs.deployment_url }}vrt-all-flags'
162- # state: 'success'
163- # deployment-id: ${{ steps.vrt-all-flags.outputs.deployment_id }}
164- # - name: Update vrt-all-flags deployment status (failure)
165- # if: failure()
166- # uses: chrnorm/deployment-status@9a72af4586197112e0491ea843682b5dc280d806
167- # with:
168- # token: ${{ secrets.GITHUB_TOKEN }}
169- # state: 'failure'
170- # deployment-id: ${{ steps.vrt-all-flags.outputs.deployment_id }}
171-
172- # deploy-aat-no-flag:
173- # name: AAT (No flags enabled)
174- # if: ${{ always() && github.event.pull_request.head.repo.full_name == 'primer/react' }}
175- # needs: deploy-preview
176- # permissions:
177- # deployments: write
178- # runs-on: ubuntu-latest
179- # steps:
180- # - uses: chrnorm/deployment-action@55729fcebec3d284f60f5bcabbd8376437d696b1
181- # name: Create GitHub deployment for aat-no-flag
182- # id: aat-no-flag
183- # with:
184- # token: ${{ secrets.GITHUB_TOKEN }}
185- # environment: aat-no-flag-${{ github.event.number }}
186- # environment-url: '${{ needs.deploy-preview.outputs.deployment_url }}aat-no-flag'
187- # - name: Update aat-no-flag deployment status (success)
188- # if: success()
189- # uses: chrnorm/deployment-status@9a72af4586197112e0491ea843682b5dc280d806
190- # with:
191- # token: ${{ secrets.GITHUB_TOKEN }}
192- # environment-url: '${{ needs.deploy-preview.outputs.deployment_url }}aat-no-flag'
193- # state: 'success'
194- # deployment-id: ${{ steps.aat-no-flag.outputs.deployment_id }}
195- # - name: Update aat-no-flag deployment status (failure)
196- # if: failure()
197- # uses: chrnorm/deployment-status@9a72af4586197112e0491ea843682b5dc280d806
198- # with:
199- # token: ${{ secrets.GITHUB_TOKEN }}
200- # state: 'failure'
201- # deployment-id: ${{ steps.aat-no-flag.outputs.deployment_id }}
202-
203- # deploy-aat-all-flags:
204- # name: AAT (All flags enabled)
205- # if: ${{ always() && github.event.pull_request.head.repo.full_name == 'primer/react' }}
206- # needs: deploy-preview
207- # permissions:
208- # deployments: write
209- # runs-on: ubuntu-latest
210- # steps:
211- # - uses: chrnorm/deployment-action@55729fcebec3d284f60f5bcabbd8376437d696b1
212- # name: Create GitHub deployment for aat-all-flags
213- # id: aat-all-flags
214- # with:
215- # token: ${{ secrets.GITHUB_TOKEN }}
216- # environment: aat-all-flags-${{ github.event.number }}
217- # environment-url: '${{ needs.deploy-preview.outputs.deployment_url }}aat-all-flags'
218- # - name: Update aat-all-flags deployment status (success)
219- # if: success()
220- # uses: chrnorm/deployment-status@9a72af4586197112e0491ea843682b5dc280d806
221- # with:
222- # token: ${{ secrets.GITHUB_TOKEN }}
223- # environment-url: '${{ needs.deploy-preview.outputs.deployment_url }}aat-all-flags'
224- # state: 'success'
225- # deployment-id: ${{ steps.aat-all-flags.outputs.deployment_id }}
226- # - name: Update aat-all-flags deployment status (failure)
227- # if: failure()
228- # uses: chrnorm/deployment-status@9a72af4586197112e0491ea843682b5dc280d806
229- # with:
230- # token: ${{ secrets.GITHUB_TOKEN }}
231- # state: 'failure'
232- # deployment-id: ${{ steps.aat-all-flags.outputs.deployment_id }}
0 commit comments