nixos-wiki-infra/targets/admins/apply.sh

8 lines
193 B
Bash
Raw Permalink Normal View History

2024-02-09 11:54:32 +01:00
#!/usr/bin/env bash
set -euo pipefail
2024-04-08 07:28:06 +02:00
cd "$(dirname "$0")"
2024-02-09 11:54:32 +01:00
rm -f .terraform.lock.hcl
2024-04-01 15:24:51 +02:00
tofu init -backend-config="password=$GITLAB_TOKEN" -backend-config="username=$GITLAB_USER"
2024-04-08 07:28:50 +02:00
tofu apply "$@"