This Action creates or updates an existing app in your Zendesk instance after a succesful commit in your GitHub repository.
It requires a ZAT configs as a repo-secret. (You can paste the entire object as ZAT secret)
// Sample `.zat` file
{
"zat_latest": "3.8.0",
"zat_update_check": "2020-07-01",
"subdomain": "<subdomain>",
"username": "<[email protected]>/token",
"password": "<your_api_token>",
"app_id": 123456
}
Below is an example flow to deploy the app to Z3 instance.
name: Deploy Zendesk App
on:
push:
branches: [develop]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: zendesk/checkout@v2
- name: Add ZAT Config
run: |
echo $ZAT >> .zat
env:
ZAT: ${{ secrets.ZAT }}
- name: ZAT Deploy
uses: zendesk/zat-deploy@master