Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

v1.5.0

v1.5.0 #14

name: J1 Integration deployment
on:
release:
types:
- published
jobs:
j1-integration-deployment:
runs-on: ubuntu-latest
steps:
- name: Get integration name
id: get-integration-name
shell: bash
run: |
NAME=${{ github.event.repository.name }}
echo "integrationName=${NAME#graph-}" >> $GITHUB_OUTPUT
- name: Get version number
id: get-version-number
shell: bash
run: |
TAG=${{ github.event.release.tag_name }}
echo "versionNumber=${TAG#v}" >> $GITHUB_OUTPUT
- name: Bump integration deployment version
uses: JupiterOne/integration-github-actions/[email protected]
with:
integrationName:
${{ steps.get-integration-name.outputs.integrationName }}
version: ${{ steps.get-version-number.outputs.versionNumber }}
githubToken: ${{ secrets.AUTO_GITHUB_PAT_TOKEN }}
npmAuthToken: ${{ secrets.NPM_AUTH_TOKEN }}
releaseNotes: ${{ github.event.release.body }}