diff --git a/.github/workflows/trigger-docker-julia.yml b/.github/workflows/trigger-docker-julia.yml index 66d67d7e..9fe62e59 100644 --- a/.github/workflows/trigger-docker-julia.yml +++ b/.github/workflows/trigger-docker-julia.yml @@ -1,22 +1,21 @@ # trigger-docker-julia.yml name: Trigger Docker build - Julia on: - push: - branches: - - main + release: + types: [published] jobs: - trigger_workflow: - runs-on: ubuntu-latest - steps: - - uses: convictional/trigger-workflow-and-wait@v1.6.5 - name: Trigger Julia Docker build - with: - owner: WilhelmusLab - repo: ice-floe-tracker-pipeline - github_token: ${{ secrets.TRIGGER_PAT }} - workflow_file_name: build-docker-julia.yml - ref: main - wait_interval: 15 - propagate_failure: true - trigger_workflow: true - wait_workflow: true \ No newline at end of file + trigger_workflow: + runs-on: ubuntu-latest + steps: + - uses: convictional/trigger-workflow-and-wait@v1.6.5 + name: Trigger Julia Docker build + with: + owner: WilhelmusLab + repo: ice-floe-tracker-pipeline + github_token: ${{ secrets.TRIGGER_PAT }} + workflow_file_name: build-docker-julia.yml + ref: main + wait_interval: 15 + propagate_failure: true + trigger_workflow: true + wait_workflow: true