diff --git a/.github/workflows/terraform_test_deploy.yml b/.github/workflows/terraform_test_deploy.yml index ed86fa2f..8b61f0a4 100644 --- a/.github/workflows/terraform_test_deploy.yml +++ b/.github/workflows/terraform_test_deploy.yml @@ -2,6 +2,8 @@ name: Terraform deploy to a fresh microk8s model on: push: branches: ["*"] + tags: + - "v*.*.*" # pull_request_review: # on: # pull_request_review: @@ -14,9 +16,6 @@ on: # - 'frontend/charm/**' # - 'backend/charm/**' # - 'terraform/**' - push: - tags: - - "v*.*.*" workflow_dispatch: jobs: @@ -46,9 +45,13 @@ jobs: - name: Set up microk8s uses: canonical/certification-github-workflows/.github/actions/microk8s-setup@main - - name: Build charm + - name: Build API charm run: charmcraft pack working-directory: ./backend/charm + + - name: Build frontend charm + run: charmcraft pack + working-directory: ./frontend/charm - name: Terraform apply run: |