Wrap fly ssh cache purge in sh -c for BusyBox
fly ssh console -C doesn't run through a shell, so && was passed as literal arguments to rm. Wrap in sh -c to get proper shell parsing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
eca01a9546
commit
cef7611cba
1 changed files with 1 additions and 1 deletions
|
|
@ -332,7 +332,7 @@ jobs:
|
||||||
FLY_API_TOKEN: ${{ secrets.FLY_DEPLOY_TOKEN }}
|
FLY_API_TOKEN: ${{ secrets.FLY_DEPLOY_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
echo "Purging nginx cache on Fly.io proxy..."
|
echo "Purging nginx cache on Fly.io proxy..."
|
||||||
fly ssh console -a blumeops-proxy -C "rm -rf /tmp/cache && nginx -s reload"
|
fly ssh console -a blumeops-proxy -C "sh -c 'rm -rf /tmp/cache && nginx -s reload'"
|
||||||
echo "Cache purged"
|
echo "Cache purged"
|
||||||
|
|
||||||
- name: Summary
|
- name: Summary
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue