Skip to content

Commit 1882421

Browse files
committedJul 26, 2024··
Refactor deployment script
1 parent 107788f commit 1882421

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎.github/workflows/deploy-env.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
run: |
4848
echo "${{ secrets.ENVRC }}" > .envrc.local
4949
source .envrc.local
50-
which aws || true
51-
nix develop
52-
which aws
53-
echo "yes" | nix run .#cardano-services.${{ inputs.environment || 'ops-preview-1@us-east-1' }}.apply
50+
nix develop -L --command bash -c '
51+
set -euo pipefail
52+
echo "yes" | nix run .#cardano-services.${{ inputs.environment || "ops-preview-1@us-east-1" }}.apply
53+
'

0 commit comments

Comments
 (0)
Please sign in to comment.