Skip to content

Commit

Permalink
chore: Add automated deployment workflow for ops-preview-1 environment
Browse files Browse the repository at this point in the history
  • Loading branch information
ce0la committed Jul 23, 2024
1 parent 0c3281d commit d683e37
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/deploy-env.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Deployed Environments - SDK E2E Tests

on:
push:
workflow_dispatch:
inputs:
environment:
description: 'Environment to deploy to'
type: choice
required: true
default: 'ops-preview-1'
options:
- ops-preview-1

jobs:
deploy:
environment: ${{ inputs.environment || 'ops-preview-1' }}
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout repository
uses: actions/checkout@v3

- name: Install QEMU
run: sudo apt-get install -y qemu-user-static

- name: 🧰 Setup Nix
uses: cachix/install-nix-action@v21

- name: 🚀 Deploy
run: |
echo ${{ secrets.ENVRC }} > .envrc
source .envrc
nix run .#[email protected]
nix run .#[email protected]

0 comments on commit d683e37

Please sign in to comment.