diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 9ccfddc3d..acfd728d1 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -36,8 +36,4 @@ jobs: env: PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }} with: - command: | - set -e - cd infrastructure - uv run pulumi up --yes - nu ping.nu + command: mise tasks run infrastructure:up diff --git a/.mise.toml b/.mise.toml index 98ef319be..a73abb053 100644 --- a/.mise.toml +++ b/.mise.toml @@ -84,3 +84,12 @@ run = """ nu linter.nu yamllint -d "{extends: relaxed, rules: {line-length: {max: 110}}}" . """ + +[tasks."infrastructure:up"] +description = "Launch cloud infrastructure" +run = """ +set -e +cd infrastructure +uv run pulumi up --yes +nu ping.nu +""" diff --git a/infrastructure/.python-version b/infrastructure/.python-version deleted file mode 100644 index 24ee5b1be..000000000 --- a/infrastructure/.python-version +++ /dev/null @@ -1 +0,0 @@ -3.13