This repository has been archived by the owner on Jun 24, 2024. It is now read-only.
v3.2.4 #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/create-integration-deployment@v2.0.2 | |
with: | |
integrationName: | |
${{ steps.get-integration-name.outputs.integrationName }} | |
releaseNotes: ${{ github.event.release.body }} | |
version: ${{ steps.get-version-number.outputs.versionNumber }} | |
githubToken: ${{ secrets.AUTO_GITHUB_PAT_TOKEN }} | |
npmAuthToken: ${{ secrets.NPM_AUTH_TOKEN }} |