Skip to content

Deploy the dashboard after the weekly reporting run - #30

Open
marvinm2 wants to merge 1 commit into
RECETOX:mainfrom
marvinm2:fix-pages-deploy
Open

Deploy the dashboard after the weekly reporting run#30
marvinm2 wants to merge 1 commit into
RECETOX:mainfrom
marvinm2:fix-pages-deploy

Conversation

@marvinm2

Copy link
Copy Markdown

Closes #25.

The reporting workflow commits docs/index.html using GITHUB_TOKEN, and a push made with that token does not trigger another workflow, so the paths filter on the push trigger here never matched the weekly commit.

Adding a workflow_run trigger keyed to the reporting workflow deploys after it finishes. The job is skipped when that run did not succeed, so a failed collection does not publish over good numbers.

The push and workflow_dispatch triggers are left as they are.

One caveat: a workflow_run trigger only takes effect once it is on the default branch, so this cannot be demonstrated from a fork. I have checked the YAML parses and the condition is right, but the first real proof will be the Monday run after it merges.

The reporting workflow commits docs/index.html using GITHUB_TOKEN. A push made
with that token does not trigger another workflow, so the paths filter on the
push trigger here never matched the weekly commit, and the site was last
deployed on 2026-07-01 while the reports kept updating.

Adding a workflow_run trigger keyed to the reporting workflow deploys after it
finishes, and the job is skipped when that run did not succeed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pages deploy doesn't run after the weekly report job

1 participant