From c0be783cc7fc3b8c4c54aa945febd9042ae9fe5b Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Thu, 5 May 2022 12:56:51 -0700 Subject: [PATCH] ci: Move docker rebuild step to release workflow Also, rename from `deploy` to `rebuild-docker-image` per discussion at https://github.com/nextstrain/auspice/pull/1505#discussion_r865244775 --- .github/workflows/ci.yaml | 6 ------ .github/workflows/release.yaml | 5 +++++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2db4bc88b..4d38865f3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -49,9 +49,3 @@ jobs: uses: codecov/codecov-action@v2 with: fail_ci_if_error: true - deploy: - if: github.repository == 'nextstrain/augur' && github.ref == 'refs/heads/release' - needs: [test] - runs-on: ubuntu-latest - steps: - - run: gh workflow run ci.yml --repo nextstrain/docker-base diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2e7a1a8b5..898b363bf 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -52,3 +52,8 @@ jobs: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} TWINE_REPOSITORY_URL: https://upload.pypi.org/legacy/ + rebuild-docker-image: + needs: [run] + runs-on: ubuntu-latest + steps: + - run: gh workflow run ci.yml --repo nextstrain/docker-base