diff --git a/.github/workflows/teardown_infrastructure.yaml b/.github/workflows/teardown_infrastructure.yaml deleted file mode 100644 index 7b2684aa..00000000 --- a/.github/workflows/teardown_infrastructure.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -name: Teardown infrastructure -run-name: Teardown infrastructure -on: - workflow_dispatch: -jobs: - teardown_infrastructure: - name: Teardown infrastructure on weekday schedule - runs-on: ubuntu-latest - environment: pulumi - permissions: - id-token: write - contents: read - steps: - - name: Checkout code - uses: actions/checkout@v4 - - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v5 - with: - role-to-assume: ${{ secrets.AWS_IAM_INFRASTRUCTURE_ROLE_ARN }} - aws-region: ${{ secrets.AWS_REGION }} - - name: Install Flox - uses: flox/install-flox-action@v2 - - name: Dismantle with Pulumi - uses: flox/activate-action@v1 - env: - PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }} - with: - command: mask infrastructure stack down