From d931fa14ae522a05e5df4ceeb2a95441ebbed5bd Mon Sep 17 00:00:00 2001 From: shane knapp Date: Tue, 27 Aug 2024 16:30:22 -0700 Subject: [PATCH] forgot about staging --- .github/workflows/deploy-all-hubs.yaml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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'