nixos-wiki-infra/targets/nixos-wiki2.thalheim.io/apply.sh

8 lines
178 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
rm -f .terraform.lock.hcl
terraform init -backend-config="password=$GITLAB_TOKEN" -backend-config="username=$GITLAB_USER"
terraform apply