Skip to content

Commit 333908f

Browse files
committed
Update syntax for final PR review and remove redundant line
1 parent 6e81a8f commit 333908f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/deploy-env.yaml

+4-5
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ on:
3434

3535
jobs:
3636
deploy:
37-
environment: ${{ inputs.environment || 'ops-preview-1@us-east-1' }}
37+
environment: ${{ inputs.environment }}
3838
runs-on: ubuntu-latest
3939
steps:
4040
- name: 📥 Checkout repository
@@ -46,8 +46,7 @@ jobs:
4646
- name: 🚀 Deploy
4747
run: |
4848
echo "${{ secrets.ENVRC }}" > .envrc.local
49-
source .envrc.local
50-
nix develop -L --command bash -c "
49+
nix develop -L --command bash -c '
5150
set -euo pipefail
52-
echo "yes" | nix run .#cardano-services.${{ inputs.environment || 'ops-preview-1@us-east-1' }}.apply
53-
"
51+
echo "yes" | nix run .#cardano-services.${{ inputs.environment }}.apply
52+
'

0 commit comments

Comments
 (0)