nixos-wiki-infra/targets/admins/apply.sh
2024-04-01 15:24:51 +02:00

8 lines
168 B
Bash
Executable File

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