Skip to content

Commit

Permalink
debug ci
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienZ committed Feb 24, 2024
1 parent e5910a0 commit 9aceee0
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/umami-reporting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,15 @@ jobs:
name: umami report
runs-on: ubuntu-latest

outputs:
umami_page_views: ${{ steps.umamiReportStep.outputs.pageViews }}
umami_report_file: ${{ steps.umamiReportStep.outputs.umamiReportFile }}
# umami_report: ${{ steps.umamiReport.outputs.umamiReport }}
umami_one_line_report: ${{ steps.umamiReportStep.outputs.umamiOneLineReport }}

steps:
- name: Create Umami report
id: umamiReport
id: umamiReportStep
uses: boly38/action-umami-report@umami-server-2.9.0
with:
umami-server: https://${{secrets.UMAMI_HOST}}
Expand All @@ -23,10 +29,6 @@ jobs:
umami-report-file: "umamiReport.txt"
env:
UMAMI_CLIENT_TIMEOUT_MS: 5000
- name: print var
run: |
echo yolo: ${{steps.umamiReportStep.outputs.umamiOneLineReport}}
# - name: Send Umami report to discord channel
# uses: tsickert/discord-webhook@v4.0.0
# with:
Expand All @@ -36,3 +38,12 @@ jobs:
# username: "umami report"
# embed-description: "${{ steps.umamiReportStep.outputs.umamiReport }}"
# embed-image-url: "https://raw.githubusercontent.com/umami-software/umami/master/src/assets/logo.svg"

nextJob:
needs: umamiReport
name: github action next job
runs-on: ubuntu-latest
steps:
- name: print var
run: |
echo "FROM umamiReport outputs: ${{ needs.umamiReport.outputs.umami_report_file }} and ${{ needs.umamiReport.outputs.umami_page_views }} pageviews "

0 comments on commit 9aceee0

Please sign in to comment.