Skip to content

CI: Test Jekyll documentation build in PRs - #9653

Merged
Alkarex merged 1 commit into
FreshRSS:edgefrom
Inverle:test-docs-build-ci
Nov 29, 2026
Merged

Alkarex merged 1 commit into
FreshRSS:edgefrom
Inverle:test-docs-build-ci

Conversation

@Inverle

@Inverle Inverle commented Nov 29, 2026

Copy link
Copy Markdown
Member

To avoid breaking the CI after a merge, example of breakage: #9509 (relevant run).

@Inverle Inverle added this to the 1.31.1 milestone Nov 29, 2026
@Inverle Inverle added Documentation 📚 System care Everything related to system care github_actions Pull requests that update GitHub Actions code labels Nov 29, 2026
# Deployment job (skipped in PRs)
deploy:
name: deploy
if: ${{ github.ref == 'refs/heads/edge' }}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about something like this?

Suggested change
if: ${{ github.ref == 'refs/heads/edge' }}
if: github.event_name != 'pull_request'

Although I suppose if you make it something like this the if push is redundant.

Suggested change
if: ${{ github.ref == 'refs/heads/edge' }}
if: github.event_name == 'push' && github.ref == 'refs/heads/edge'

(Just asking / thinking aloud.)

@Inverle Inverle Nov 29, 2026 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had a concern that deployment may be accidentally triggered by workflow_dispatch, if you rerun the workflow in a PR (that's why I didn't go with github.event_name != 'pull_request').

And workflow_dispatch should continue working as normal, if using it against the edge branch.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright.

@Alkarex
Alkarex merged commit df77842 into FreshRSS:edge Nov 29, 2026
7 checks passed
@Inverle
Inverle deleted the test-docs-build-ci branch November 29, 2026 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation 📚 github_actions Pull requests that update GitHub Actions code System care Everything related to system care

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants