Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jacqueline-57b committed Jul 16, 2024
1 parent 009dcd1 commit 1a437eb
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/run-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Run E2E Test

on:
push:
branches: [ "main" ]
branches: [ "add-workflow-2" ]

pull_request:
branches: [ "main" ]
Expand Down Expand Up @@ -63,3 +63,20 @@ jobs:
path: |
./test-reports
if: always()

- name: Copy report to date folder
id: create_folder
run: |
folder_name=$(date +%Y%m%d)
mkdir -p $folder_name
cp -R mochawesome-report/. $folder_name
- name: Deploy report to GitHub Pages
if: always()
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ${{ steps.create_folder.outputs.folder_name }}
publish_branch: gh-pages
keep_files: true

0 comments on commit 1a437eb

Please sign in to comment.