Skip to content

Test terraform

Test terraform #2

Workflow file for this run

name: "Deploy"
on:
push:
# branches:
# - main
jobs:
deploy:
strategy:
matrix:
system: ["aarch64-linux", "x86_64-linux"]
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: nix-pizza/infra/.github/workflows/build.yaml@aciceri/ci
- run: |
[ '${{ matrix.system }}' != 'aarch64-linux' ] && exit 0
source "$(nix build .#inject-secrets --no-link --print-out-paths)"/bin/install-agenix-shell
export TF_VAR_ssh_public_keys="$(nix build .#ssh-public-keys --no-link --print-out-paths)"
nix run .#opentofu -- init
nix run .#opentofu -- apply --auto-approve