diff --git a/.github/workflows/deploy-all-hubs.yaml b/.github/workflows/deploy-all-hubs.yaml index 1eacf59c8..475d19655 100644 --- a/.github/workflows/deploy-all-hubs.yaml +++ b/.github/workflows/deploy-all-hubs.yaml @@ -89,16 +89,10 @@ jobs: - name: Deploy base hub images to staging if: ${{ env.DEPLOY }} run: | - ignored_directories=("template") # these are directories that we never want to deploy while read deployment; do - for ignored in "${ignored_directories[@]}"; do - if [[ "${deployment}" == "${ignored}" ]]; then - continue 2 # skip to the next iteration of "while read deployment" - fi - done echo "Pretending to deploy base hub image to ${deployment} :P" echo "hubploy deploy --verbose ${deployment} hub staging" - done < <(ls deployments/ | sed -e 's,/,,g') + done < <(.github/scripts/get-deployments.py --ignore template) deploy-hub-images-prod: if: github.event_name == 'push' && github.ref == 'refs/heads/prod'