mirror of
https://github.com/penpot/penpot.git
synced 2026-09-24 21:06:14 +00:00
sha is the full 40-char SHA in build-bundle.yml's output and build-docker.yml's new checkout-pinning input, matching git and GitHub's own convention. short_sha stays internal to each workflow for the S3 keys and image tags that already used it — build-bundle.yml no longer exposes it externally since nothing outside consumed it. No S3 key, image tag, or marker value changes anywhere. Signed-off-by: David Barragán Merino <david.barragan@kaleidos.net>
45 lines
1.0 KiB
YAML
45 lines
1.0 KiB
YAML
name: _DEVELOP
|
|
|
|
run-name: >-
|
|
_DEVELOP (develop @ ${{ github.sha }})
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
force:
|
|
description: 'Rebuild and overwrite even if already built/promoted'
|
|
type: boolean
|
|
required: false
|
|
default: false
|
|
schedule:
|
|
- cron: '16 5-20 * * 1-5'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build-bundle:
|
|
uses: ./.github/workflows/build-bundle.yml
|
|
secrets: inherit
|
|
with:
|
|
gh_ref: "develop"
|
|
force: ${{ inputs.force || false }}
|
|
|
|
build-docker:
|
|
needs: build-bundle
|
|
uses: ./.github/workflows/build-docker.yml
|
|
secrets: inherit
|
|
with:
|
|
gh_ref: "develop"
|
|
# Pin build-docker to the commit build-bundle actually bundled.
|
|
sha: ${{ needs.build-bundle.outputs.sha }}
|
|
force: ${{ inputs.force || false }}
|
|
|
|
build-docker-admin-console:
|
|
uses: ./.github/workflows/build-docker-admin-console.yml
|
|
secrets: inherit
|
|
with:
|
|
gh_ref: "develop"
|
|
force: ${{ inputs.force || false }}
|