Skip to content

Commit 013ef38

Browse files
authored
Update carbon-aware-deploy.yml
1 parent d08b102 commit 013ef38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/carbon-aware-deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Scale Down Existing Machines
3838
run: |
3939
echo "Destroying existing machines..."
40-
flyctl machines list -q | xargs -I {} flyctl machine destroy {} --force
40+
flyctl machines list -q | awk '{gsub(/[^a-zA-Z0-9-]/,"")}1' | xargs -I {} flyctl machine destroy {} --force
4141
env:
4242
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
4343

0 commit comments

Comments
 (0)