Skip to content

Commit d683e37

Browse files
committed
chore: Add automated deployment workflow for ops-preview-1 environment
1 parent 0c3281d commit d683e37

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/deploy-env.yaml

+34
Original file line numberDiff line numberDiff line change
@@ -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+
34+

0 commit comments

Comments
 (0)