discourse/.github/workflows
David Taylor fcaa068b87
DEV: Publish and enable use of pre-built JS assets (#33973)
Building the Discourse ember app is resource-intensive process. This
commit introduces a framework for us to build these assets centrally,
and make them available for people to download.

On every commit to `main`, a new GitHub actions workflow will build
development & production versions of the core assets, and publish them
as a github release under the `discourse/discourse-assets` repository. A
separate repository is being used to avoid polluting the main
`discourse/discourse` repository with one-git-tag-per-release.

The `assemble_ember_build.rb` script is updated to fetch the relevant
asset bundle. Requests are made to `get.discourse.org`, which then
redirects to GitHub releases. This redirection service is being used so
that we have the option to switch away from GitHub releases in future
without breaking existing Discourse installations.

For now, this behavior can be enabled by setting
`DISCOURSE_DOWNLOAD_PRE_BUILT_ASSETS=1`. In the near future, we hope to
make this the default, with opt-out via
`DISCOURSE_DOWNLOAD_PRE_BUILT_ASSETS=0`.
2025-07-31 14:22:51 +01:00
..
check-pr-body.yml DEV: Update dependabot commit-message splitting (#30721) 2025-01-10 20:58:50 +00:00
dependabot-pnpm-dedupe.yml DEV: Fix pnpm dedupe workflow branch matching (#31322) 2025-02-12 23:22:26 +01:00
labeler.yml DEV: Add extra permission to allow labeller to work in PRs (#33579) 2025-07-11 15:02:54 +08:00
licenses.yml Revert "DEV: Update workflow concurrency controls to use github.ref_name (#32524)" (#32592) 2025-05-06 15:43:57 +08:00
linting.yml DEV: Update labels for our self hosted runners (#32766) 2025-05-16 15:46:14 +08:00
migration-tests.yml DEV: Update labels for our self hosted runners (#32766) 2025-05-16 15:46:14 +08:00
publish-assets.yml DEV: Publish and enable use of pre-built JS assets (#33973) 2025-07-31 14:22:51 +01:00
release-notes.yml DEV: Use github hosted runners for simple workflows (#30576) 2025-01-06 14:15:16 +08:00
stale-pr-closer.yml DEV: Use github hosted runners for simple workflows (#30576) 2025-01-06 14:15:16 +08:00
tests.yml DEV: Use rollup for theme JS compilation (#33103) 2025-07-25 12:02:29 +01:00