Improved aura weapon damage handling #33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Terraform" | |
on: | |
workflow_dispatch: | |
push: | |
branches: ["master"] | |
permissions: | |
contents: read | |
concurrency: | |
group: deploy | |
jobs: | |
terraform: | |
name: "Terraform" | |
runs-on: ubuntu-latest | |
environment: production | |
defaults: | |
run: | |
shell: bash | |
working-directory: ./terraform | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Terraform | |
uses: hashicorp/setup-terraform@v1 | |
with: | |
cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }} | |
- name: Terraform Init | |
run: terraform init | |
- name: Terraform Format | |
run: terraform fmt -check | |
- name: Terraform Apply | |
env: | |
TF_VAR_hcloud_token: ${{ secrets.TF_VAR_HCLOUD_TOKEN }} | |
TF_VAR_cloudflare_api_token: ${{ secrets.TF_VAR_CLOUDFLARE_API_TOKEN }} | |
TF_VAR_cloudflare_zone_id: ${{ secrets.TF_VAR_CLOUDFLARE_ZONE_ID }} | |
TF_VAR_elastic_cloud_id: ${{ secrets.TF_VAR_ELASTIC_CLOUD_ID }} | |
TF_VAR_elastic_api_key: ${{ secrets.TF_VAR_ELASTIC_API_KEY }} | |
run: | | |
terraform plan -input=false | |
terraform apply -auto-approve -input=false |