Skip to content

Commit

Permalink
Update opentofu.yml
Browse files Browse the repository at this point in the history
fix starting pipeline, now should start on main branch
  • Loading branch information
fil106 authored Jun 28, 2024
1 parent 58de96a commit 186564e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/opentofu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
TF_VAR_selectel_domain_name: ${{ secrets.SELECTEL_ID }}
TF_VAR_selectel_user_admin_user: ${{ secrets.SERVICE_USER }}
TF_VAR_selectel_user_admin_password: ${{ secrets.SERVICE_PASSWORD }}
if: ${{ github.ref == 'refs/heads/opentofu-add' || github.event_name == 'workflow_dispatch' }}
if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}

steps:
- name: Checkout the repo
Expand Down Expand Up @@ -43,4 +43,4 @@ jobs:
run: tofu apply -auto-approve

- name: OpenTofu destroy
run: tofu destroy -auto-approve
run: tofu destroy -auto-approve

0 comments on commit 186564e

Please sign in to comment.