Skip to content

Commit

Permalink
add new github action on new release
Browse files Browse the repository at this point in the history
  • Loading branch information
jaskaransarkaria committed Feb 8, 2023
1 parent e426219 commit e7a39d9
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/push-terraform-module-version.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
on:
push:
tags:
- '*'

jobs:
push-terraform-module-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ministryofjustice/cloud-platform-environments/cmd/push-terraform-module-version@main
env:
API_URL: ${{ vars.TERRAFORM_MODULE_VERSIONS_API_URL }}
API_KEY: ${{ secrets.TERRAFORM_MODULE_VERSIONS_API_KEY }}
REPO_NAME: ${{ github.event.repository.name }}
UPDATED_MODULE_VERSION: ${{ github.ref_name }}

0 comments on commit e7a39d9

Please sign in to comment.