Skip to content

Commit

Permalink
Merge pull request #13 from ministryofjustice/add-gh-action-to-push-t…
Browse files Browse the repository at this point in the history
…erraform-module-version-to-api

Add gh action to push new terraform module releases to our API
  • Loading branch information
jaskaransarkaria authored Feb 9, 2023
2 parents e426219 + e7a39d9 commit 6c8836f
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 6c8836f

Please sign in to comment.