I hereby claim:
- I am synesthesia on github.
- I am synesthesiauk (https://keybase.io/synesthesiauk) on keybase.
- I have a public key ASCeG2yBZtz4pWo3egHwhVFDyyd0PEP-1yUqn3LJUYTMqwo
To claim this, I am signing this object:
$environmentUrl = 'https://yourtenant.crmX.dynamics.com/' # change this | |
$writeFileTo = 'C:\temp\dynamics-metadata.xml' # change this | |
$azTenantId = "Insert your AD tenant ID (GUID)" #change this | |
## Login if not already logged in | |
if ($null -eq (Get-AzTenant -ErrorAction SilentlyContinue)) { | |
Connect-AzAccount -TenantId $azTenantId| Out-Null | |
} | |
# Get an access token | |
$token = (Get-AzAccessToken -ResourceUrl $environmentUrl).Token |
I hereby claim:
To claim this, I am signing this object:
site: | |
title: My supe documentation site | |
start_page: sample::index.adoc | |
content: | |
sources: | |
- url: ./workspace/mycontentproject | |
branches: HEAD | |
start_path: docs | |
ui: | |
bundle: |
// see https://gitlab.com/antora/demo/docs-site/blob/watch-mode/gulpfile.js | |
// see https://gitlab.com/antora/antora/-/issues/329 | |
'use strict' | |
const connect = require('gulp-connect') | |
const fs = require('fs') | |
//const generator = require('@antora/site-generator-default') | |
const generator = require('antora-site-generator-lunr') | |
process.env['DOCSEARCH_ENABLED'] = true | |
process.env['DOCSEARCH_ENGINE'] = 'lunr' |
# Note you must also set the following environment varibables in the Netlify UI: | |
# GITHUB_CREDENTIALS - a credential that can access private source repos linked from this publishing repo | |
# See https://docs.antora.org/antora/2.3/playbook/private-repository-auth/#pass-credentials-via-an-environment-variable | |
# Settings in the [build] context are global and are applied to all contexts | |
# unless otherwise overridden by more specific contexts. | |
[build] | |
# Directory to change to before starting a build. | |
# This is where we will look for package.json/.nvmrc/etc. |
DOCSEARCH_ENABLED=true DOCSEARCH_ENGINE=lunr NODE_PATH="$(npm -g root)" antora --fetch --generator antora-site-generator-lunr antora-playbook.yml |
name: Trigger Azure Build for Staff Docs | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'staff/**' | |
jobs: |
name: Trigger netlify build for public docs | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'public/**' | |
jobs: | |
trigger-publish: | |
runs-on: ubuntu-latest |