generated from JupiterOne-Archives/integration-template
-
Notifications
You must be signed in to change notification settings - Fork 3
32 lines (30 loc) · 1.05 KB
/
integration-deployment.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 }}
releaseNotes: ${{ github.event.release.body }}
version: ${{ steps.get-version-number.outputs.versionNumber }}
githubToken: ${{ secrets.AUTO_GITHUB_PAT_TOKEN }}
npmAuthToken: ${{ secrets.NPM_AUTH_TOKEN }}