Skip to content

Commit

Permalink
Run redeploy commands in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed May 22, 2024
1 parent 3994f18 commit 7f898f9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,11 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
run: |
netkan redeploy-service --cluster NetKANCluster --service-name Indexer
netkan redeploy-service --cluster NetKANCluster --service-name Webhooks
netkan redeploy-service --cluster NetKANCluster --service-name Adder
netkan redeploy-service --cluster NetKANCluster --service-name Mirrorer
for SERVICE in Indexer Webhooks Adder Mirrorer
do
netkan redeploy-service --cluster NetKANCluster --service-name $SERVICE &
done
wait
- name: CKAN repo dispatch
env:
REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
Expand Down

0 comments on commit 7f898f9

Please sign in to comment.