Skip to content

Commit

Permalink
workflows: fix tg commands
Browse files Browse the repository at this point in the history
  • Loading branch information
digorgonzola committed Dec 11, 2023
1 parent 4953177 commit 0be592e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
tf_version: ${{ env.tf_version }}
tg_version: ${{ env.tg_version }}
tg_dir: ${{ env.tg_dir }}
tg_command: 'run plan -out=tf.plan'
tg_command: 'plan -out=tf.plan'
env:
TF_INPUT: 0
TF_IN_AUTOMATION: true
Expand All @@ -72,7 +72,7 @@ jobs:
tf_version: ${{ env.tf_version }}
tg_version: ${{ env.tg_version }}
tg_dir: ${{ env.tg_dir }}
tg_command: 'run apply tf.plan'
tg_command: 'apply tf.plan'
env:
TF_INPUT: 0
TF_IN_AUTOMATION: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
tf_version: ${{ env.tf_version }}
tg_version: ${{ env.tg_version }}
tg_dir: ${{ env.tg_dir }}
tg_command: 'run plan -out=tf.plan'
tg_command: 'plan -out=tf.plan'
env:
TF_INPUT: 0
TF_IN_AUTOMATION: true
Expand All @@ -99,7 +99,7 @@ jobs:
tf_version: ${{ env.tf_version }}
tg_version: ${{ env.tg_version }}
tg_dir: ${{ env.tg_dir }}
tg_command: 'run apply tf.plan'
tg_command: 'apply tf.plan'
env:
TF_INPUT: 0
TF_IN_AUTOMATION: true
Expand All @@ -109,7 +109,7 @@ jobs:
create_draft_release:
name: Create Release
runs-on: ubuntu-latest
needs: [build_test_push]
needs: [build_test_push, staging_deploy]
permissions:
contents: write
steps:
Expand All @@ -121,7 +121,7 @@ jobs:
id: create_draft_release
uses: softprops/action-gh-release@v1
with:
name: Draft Release - commit '${{ github.sha }}'
name: Draft Release - commit ${{ github.sha }}
body: |
## Info
This draft release has been automatically created from merge commit '${{ github.event.head_commit.message }}'.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
- master

permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
id-token: write
contents: read

jobs:
pre_commit:
Expand Down

0 comments on commit 0be592e

Please sign in to comment.