mirror of https://github.com/coder/coder.git
chore: only run `build` step on `main`
The comment says it only runs on main, but it actually doesn't
This commit is contained in:
parent
5a53afda46
commit
d239c9956d
|
@ -662,7 +662,7 @@ jobs:
|
|||
# to main branch. We are only building this for amd64 platform. (>95% pulls
|
||||
# are for amd64)
|
||||
needs: changes
|
||||
if: needs.changes.outputs.docs-only == 'false' && !github.event.pull_request.head.repo.fork
|
||||
if: needs.changes.outputs.docs-only == 'false' && !github.event.pull_request.head.repo.fork && github.ref == 'refs/heads/main'
|
||||
runs-on: ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu-ubuntu-2204' || 'ubuntu-latest' }}
|
||||
env:
|
||||
DOCKER_CLI_EXPERIMENTAL: "enabled"
|
||||
|
|
Loading…
Reference in New Issue