Merge pull request #2297 from element-hq/fkwp-patch-1

different way of checking docker build label
This commit is contained in:
fkwp
2024-04-10 13:28:03 +02:00
committed by GitHub

View File

@@ -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