diff --git a/.github/workflows/buildReleaseInclDocker.yml b/.github/workflows/buildReleaseInclDocker.yml index f0f6192e2..652103ec3 100644 --- a/.github/workflows/buildReleaseInclDocker.yml +++ b/.github/workflows/buildReleaseInclDocker.yml @@ -3,6 +3,7 @@ # # Interlisp webflow to build a Medley release and push it to github. # And to build a multiplatform Docker image for the release and push it to Docker Hub. +# And to kickoff a build and deploy workflow for Medley-online within the online repo. # # This workflow just calls two reuseable workflows to the two task: # buildLoadup.yml and buildDocker.yml @@ -14,12 +15,12 @@ # ****************************************************************************** -name: "Build/Push Release & Docker" +name: "Build/Push Release, Docker, OIO" # Run this workflow on ... on: schedule: - - cron: '0 9 * * 3' + - cron: '17 9 * * 3' workflow_dispatch: inputs: @@ -111,3 +112,16 @@ jobs: ###################################################################################### + # Kickoff workflow in online repo to build and deploy Medley docker image to oio + do_oio: + runs-on: ubuntu-latest + needs: [inputs, do_docker] + steps: + - name: trigger-oio-buildAndDeploy + run: | + if [ ! "${{ needs.inputs.outputs.draft }}" = "true" ] + then + gh workflow run buildAndDeployMedleyDocker.yml --repo Interlisp/online --ref master + fi + env: + GITHUB_TOKEN: ${{ secrets.ONLINE_TOKEN }}