Skip to content

Commit 82ff0d6

Browse files
committed
Fix build, XENON link
1 parent 6f4329f commit 82ff0d6

File tree

3 files changed

+20
-16
lines changed

3 files changed

+20
-16
lines changed

.github/workflows/build.yml

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
ZENDESK_SUBDOMAIN: ${{ secrets.ZENDESK_SUBDOMAIN }}
1616
ZENDESK_EMAIL: ${{ secrets.ZENDESK_EMAIL }}
1717
ZENDESK_API_TOKEN: ${{ secrets.ZENDESK_API_TOKEN }}
18-
18+
1919
steps:
2020
- uses: actions/checkout@v3
2121
- name: Use Node.js ${{ matrix.node-version }}
@@ -26,25 +26,30 @@ jobs:
2626
- name: Install zcli
2727
run: npm i @zendesk/zcli -g
2828

29-
3029
- name: Install app dependencies
3130
run: npm install
3231
- name: Create dist directory
3332
run: npm run build
34-
35-
- name: Bump minor version
36-
run: zcli apps:bump -m dist
33+
34+
- name: Package release
35+
run: |
36+
zcli apps:bump -m dist
37+
export RELEASE_VERSION=$(jq -r ".version" dist/manifest.json)
38+
echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_ENV
39+
zcli apps:package dist
40+
mv dist/tmp/*.zip dist/tmp/zendesk-gridx-health-check_$RELEASE_VERSION.zip
41+
3742
- name: Deploy the app
38-
run: zcli apps:package dist
43+
run:
3944

4045
- uses: stefanzweifel/git-auto-commit-action@v5
4146
with:
42-
commit_message: "chore: Run build"
43-
- uses: "marvinpinto/action-automatic-releases@latest"
47+
commit_message: 'chore: Release'
48+
- uses: 'marvinpinto/action-automatic-releases@latest'
4449
with:
45-
repo_token: "${{ secrets.GITHUB_TOKEN }}"
46-
automatic_release_tag: "latest"
47-
prerelease: true
48-
title: "Development Build"
50+
repo_token: '${{ secrets.GITHUB_TOKEN }}'
51+
automatic_release_tag: '${{ env.RELEASE_VERSION }}'
52+
prerelease: false
53+
title: 'Release'
4954
files: |
5055
dist/tmp/*.zip

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
# Zendesk gridX Health Check
44

5+
Zendesk gridX Health Check is a Zendesk Support App that allows running checks against gridBoxes in the field.
6+
57
## Synopsis
68

79
## 📖 Usage
@@ -17,9 +19,6 @@ Prerequisites:
1719

1820
### 🏗️ Building
1921

20-
21-
22-
2322
----
2423

2524
## Description

src/app/components/result/System.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type CheckResultProps = SystemCheckResult & {
1313
// System of checks for one system
1414
const System = ({ system, results, checkInfo }: CheckResultProps) => (
1515
<>
16-
<a href={`https://xenon.gridx.ai/systems/${system.id}`}>XENON {system.id}</a>
16+
<a href={`https://xenon.gridx.ai/systems/${system.id}`} target="_blank">XENON {system.id}</a>
1717
<Accordion level={4} isExpandable defaultExpandedSections={[]}>
1818
{results
1919
.filter((res) => res.type != 'connectionIssues') //FIXME: Include when we figure out how not to time out

0 commit comments

Comments
 (0)