Merge pull request #2297 from element-hq/fkwp-patch-1
different way of checking docker build label
This commit is contained in:
5
.github/workflows/docker-pr.yaml
vendored
5
.github/workflows/docker-pr.yaml
vendored
@@ -14,12 +14,11 @@ env:
|
||||
IMAGE_NAME: ${{ github.repository }}
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request' && github.event.label.name == 'docker build' }}
|
||||
build_docker:
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'docker build') }}
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
deployments: write
|
||||
environment: Netlify
|
||||
steps:
|
||||
- name: 📥 Download artifact
|
||||
uses: actions/download-artifact@v4
|
||||
|
||||
Reference in New Issue
Block a user