This is a reusable GitHub Action uploads deployment information to specified Jira issues belonging to a connected Jira Cloud instance. To enable the deployments tab on a Jira project follow the documentation.
We are using the Github App created by HighwayThree. The app takes all the commits to analyze the Jira keys to identify the issues.
Add the actions below in your next project under the .github/workflows
folder.
name: Deployment to Production
on:
push:
branches:
- 'release/*'
- 'hotfix/*'
jobs:
deployment-prod:
uses: Minnek-Digital-Studio/jira-action/.github/workflows/jira-deployment-prod.yml@master
secrets:
CLIENT_ID: ${{ secrets.JIRA_CLIENT_ID }}
CLIENT_SECRET: ${{ secrets.JIRA_CLIENT_SECRET }}
name: Deployment to Test
on:
push:
branches:
- 'test/*'
- 'test'
- 'testing'
- 'staging'
jobs:
deployment-test:
uses: Minnek-Digital-Studio/jira-action/.github/workflows/jira-deployment-test.yml@master
secrets:
CLIENT_ID: ${{ secrets.JIRA_CLIENT_ID }}
CLIENT_SECRET: ${{ secrets.JIRA_CLIENT_SECRET }}
This project is maintained and funded by Minnek.
We ❤️ open source and do our part in sharing our work with the community! See our other projects or hire our team to help build your product.
Want to join? Check out our Jobs!