Skip to content

Merge pull request #202 from neo4j-documentation/danielterlizzi-patch-17 #139

Merge pull request #202 from neo4j-documentation/danielterlizzi-patch-17

Merge pull request #202 from neo4j-documentation/danielterlizzi-patch-17 #139

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/annotations-action@v0.2.0
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 }}