Skip to content

Commit

Permalink
Deploy html coverage reports in reusable workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Heinrich <[email protected]>
  • Loading branch information
andistorm committed Sep 9, 2024
1 parent b782550 commit 9cdc3c0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,15 @@ jobs:
if-no-files-found: error
name: coverage-report
path: ${{ inputs.coverage_report_path }}
- name: Deploy html coverage report
if: ${{ steps.run_coverage.outcome == 'success' || steps.run_coverage.outcome == 'failure' }}
# LTODO update tag
uses: everest/everest-ci/github-actions/deploy-ci-logs@feature/add-reusable-ci-workflow
with:
target_repo: EVerest/everest.github.io
target_logs_name: coverage-report
logs_dir: ${{ inputs.coverage_report_path }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Create dist
id: create_dist
if: ${{ inputs.run_install == 'true' }}
Expand Down
2 changes: 1 addition & 1 deletion github-actions/deploy-ci-logs/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ runs:
id: determine_target_path
shell: bash
run: |
target_path="ci-logs/${{ inputs.source_repo }}/${{ inputs.workflow_run_id }}/${{ inputs.target_logs_name }}"
target_path="docs/ci-logs/${{ inputs.source_repo }}/${{ inputs.workflow_run_id }}/${{ inputs.target_logs_name }}"
echo "target_path=$target_path" >> $GITHUB_OUTPUT
- name: Copy logs
shell: bash
Expand Down

0 comments on commit 9cdc3c0

Please sign in to comment.