Skip to content

Merge pull request #197 from neo4j-documentation/danielterlizzi-patch-14 #136

Merge pull request #197 from neo4j-documentation/danielterlizzi-patch-14

Merge pull request #197 from neo4j-documentation/danielterlizzi-patch-14 #136

Workflow file for this run

name: Publish
on:
push:
branches: [ master ]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: |
npm ci
- name: Lint
run: |
FORCE_COLOR=1 npm run lint
- name: Annotate
uses: yuzutech/[email protected]
with:
title: 'report'
repo-token: "${{ secrets.GITHUB_TOKEN }}"
input: './annotations.json'
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 11
- name: Publish Zendesk
run: |
./gradlew zenDeskUpload -Pzendesk-email="${ZENDESK_EMAIL}" -Pzendesk-apitoken="${ZENDESK_APITOKEN}" -Pstage=production
./gradlew zenDeskTechSupportUpload -Pzendesk-email="${ZENDESK_TECHSUPPORT_EMAIL}" -Pzendesk-apitoken="${ZENDESK_TECHSUPPORT_APITOKEN}" -Pstage=production
env:
ZENDESK_EMAIL: ${{ secrets.ZENDESK_EMAIL }}
ZENDESK_APITOKEN: ${{ secrets.ZENDESK_APITOKEN }}
ZENDESK_TECHSUPPORT_EMAIL: ${{ secrets.ZENDESK_TECHSUPPORT_EMAIL }}
ZENDESK_TECHSUPPORT_APITOKEN: ${{ secrets.ZENDESK_TECHSUPPORT_APITOKEN }}