Skip to content

Commit

Permalink
ci: Move docker rebuild step to release workflow
Browse files Browse the repository at this point in the history
Also, rename from `deploy` to `rebuild-docker-image` per discussion at nextstrain/auspice#1505 (comment)
  • Loading branch information
victorlin authored May 5, 2022
1 parent 784cdb8 commit c0be783
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 5 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c0be783

Please sign in to comment.