Fix release deploy: use bash for the deploy step's set -o pipefail
Gitea Actions runs `run:` steps with `sh` by default, which doesn't
support bash's `set -o pipefail` ("Illegal option -o pipefail",
exit 2). node:22-bookworm-slim (Debian) includes bash, so declaring
shell: bash for this step fixes it without changing the base image.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -101,6 +101,7 @@ jobs:
|
|||||||
# first connect (see DEPLOYMENT.md). Safe to leave unset.
|
# first connect (see DEPLOYMENT.md). Safe to leave unset.
|
||||||
DEPLOY_HOST_KEY: ${{ secrets.DEPLOY_HOST_KEY }}
|
DEPLOY_HOST_KEY: ${{ secrets.DEPLOY_HOST_KEY }}
|
||||||
VERSION: ${{ steps.image.outputs.version }}
|
VERSION: ${{ steps.image.outputs.version }}
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
umask 077
|
umask 077
|
||||||
|
|||||||
Reference in New Issue
Block a user