From 71eda5fe0078765e2c60c577280e909616382086 Mon Sep 17 00:00:00 2001 From: Ray Lyon <36998292+skoobasteeve@users.noreply.github.com> Date: Mon, 16 Jan 2023 13:49:55 -0500 Subject: [PATCH] schedule test --- .github/workflows/docker-publish.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 74f3bbe..b00aefd 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -6,6 +6,8 @@ on: branches: ['main'] paths-ignore: - '**/README.md' + schedule: + - cron: '*/3 * * * *' env: IMAGE_NAME: ${{ github.repository }} @@ -40,11 +42,12 @@ jobs: if: ${{ env.SEC_SINCE_UPDATE > 5184000 }} uses: actions/checkout@v3 -# - name: Check out MTAPI repo -# uses: actions/checkout@v3 -# with: -# repository: jonthornton/MTAPI -# path: MTAPI + - name: Check out MTAPI repo + if: github.event.schedule + uses: actions/checkout@v3 + with: + repository: jonthornton/MTAPI + path: MTAPI # - name: Log in to Docker Hub # uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9