Skip to content

Commit

Permalink
forgot about staging
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneknapp committed Aug 27, 2024
1 parent 6fd9cb1 commit d931fa1
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/deploy-all-hubs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit d931fa1

Please sign in to comment.