Skip to content

Commit

Permalink
Add ability to deploy redesign based on label
Browse files Browse the repository at this point in the history
  • Loading branch information
reakaleek committed Feb 6, 2025
1 parent c4b0f79 commit 671e9a5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ categories:
labels:
- 'automation' # When automation is updated
- 'ci' # When automation is updated
- title: '🎨 Redesign'
labels:
- 'redesign' # When it's a redesign feature
exclude-labels:
- 'changelog:skip' # When a PR should be excluded from the changelog
version-resolver:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/preview-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ jobs:
- name: Bootstrap Action Workspace
if: github.repository == 'elastic/docs-builder' && steps.check-files.outputs.any_changed == 'true'
uses: ./.github/actions/bootstrap

- name: Set REDESIGN feature flag
if: contains(github.event.pull_request.labels.*.name, 'redesign')
run: echo "REDESIGN=true" >> $GITHUB_ENV

# we run our artifact directly please use the prebuild
# elastic/docs-builder@main GitHub Action for all other repositories!
Expand Down

0 comments on commit 671e9a5

Please sign in to comment.