-
Notifications
You must be signed in to change notification settings - Fork 16
/
action.yml
29 lines (23 loc) · 821 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Publish Test Report to Github Pages
description: "Publish the Test Report to the Github Pages"
outputs:
page_url:
description: "Test Report Github page"
value: ${{ steps.publish.outputs.page_url }}
runs:
using: "composite"
steps:
- name: Prepare Javadocs and Test Report for Github Pages
shell: bash
run: |
scp -r target/site/apidocs github-pages/javadocs
scp test-results/TestExecutionReport.html github-pages/TestExecutionReport.html
- name: Setup Github Pages
uses: actions/configure-pages@v2
- name: Upload Test execution Extent Report HTML to Github Pages
uses: actions/upload-pages-artifact@v1
with:
path: "github-pages/"
- name: Publish HTML Report to Github Pages
id: publish
uses: actions/deploy-pages@v1