Skip to content

Commit 384dd2f

Browse files
committed
chore: Refactor shell script
1 parent a7212a0 commit 384dd2f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/deploy-env.yaml

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deployed Environments - SDK E2E Tests
1+
name: Deploy Environment
22

33
on:
44
push:
@@ -14,7 +14,7 @@ on:
1414

1515
jobs:
1616
deploy:
17-
environment: ${{ inputs.environment || 'ops-preview-1' }}
17+
environment: ${{ inputs.environment }}
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: 📥 Checkout repository
@@ -34,5 +34,7 @@ jobs:
3434
echo "${{ secrets.ENVRC }}" > .envrc
3535
source .envrc
3636
nix develop
37-
38-
37+
nix run .#cardano-services.${{ inputs.environment }}@${{ inputs.region }}.status
38+
nix run .#cardano-services.${{ inputs.environment }}@${{ inputs.region }}.plan
39+
nix run .#cardano-services.${{ inputs.environment }}@${{ inputs.region }}.apply -y
40+

0 commit comments

Comments
 (0)