mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2025-02-16 02:10:37 +01:00
chdir in apply scripts
This commit is contained in:
parent
0340d8e9e2
commit
a98f719117
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
|
cd "$(dirname "$0")"
|
||||||
rm -f .terraform.lock.hcl
|
rm -f .terraform.lock.hcl
|
||||||
tofu init -backend-config="password=$GITLAB_TOKEN" -backend-config="username=$GITLAB_USER"
|
tofu init -backend-config="password=$GITLAB_TOKEN" -backend-config="username=$GITLAB_USER"
|
||||||
tofu apply
|
tofu apply
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
|
cd "$(dirname "$0")"
|
||||||
rm -f .terraform.lock.hcl
|
rm -f .terraform.lock.hcl
|
||||||
tofu init -backend-config="password=$GITLAB_TOKEN" -backend-config="username=$GITLAB_USER"
|
tofu init -backend-config="password=$GITLAB_TOKEN" -backend-config="username=$GITLAB_USER"
|
||||||
tofu apply
|
tofu apply
|
||||||
|
Loading…
Reference in New Issue
Block a user