We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c3281d commit d683e37Copy full SHA for d683e37
.github/workflows/deploy-env.yaml
@@ -0,0 +1,34 @@
1
+name: Deployed Environments - SDK E2E Tests
2
+
3
+on:
4
+ push:
5
+ workflow_dispatch:
6
+ inputs:
7
+ environment:
8
+ description: 'Environment to deploy to'
9
+ type: choice
10
+ required: true
11
+ default: 'ops-preview-1'
12
+ options:
13
+ - ops-preview-1
14
15
+jobs:
16
+ deploy:
17
+ environment: ${{ inputs.environment || 'ops-preview-1' }}
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - name: 📥 Checkout repository
21
+ uses: actions/checkout@v3
22
23
+ - name: Install QEMU
24
+ run: sudo apt-get install -y qemu-user-static
25
26
+ - name: 🧰 Setup Nix
27
+ uses: cachix/install-nix-action@v21
28
29
+ - name: 🚀 Deploy
30
+ run: |
31
+ echo ${{ secrets.ENVRC }} > .envrc
32
+ source .envrc
33
+ nix run .#[email protected]
34
0 commit comments