-
Notifications
You must be signed in to change notification settings - Fork 183
38 lines (38 loc) · 1.14 KB
/
typedoc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: 'Typedoc: site for helper function for the bridge'
on:
push:
branches:
- master
permissions:
contents: write
jobs:
publish-rules-helper-site:
runs-on: ubuntu-latest
permissions:
id-token: write # for vault
contents: write # for publish
name: Publish typedoc
env:
ARTIFACTORY_URL: https://repox.jfrog.io/artifactory
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Get vault secrets
id: secrets
uses: SonarSource/vault-action-wrapper@v3
with:
secrets: |
development/artifactory/token/{REPO_OWNER_NAME_DASH}-private-reader access_token | ARTIFACTORY_ACCESS_TOKEN;
- name: Build typedoc site
run: |
cp .cirrus/npmrc ./.npmrc
export ARTIFACTORY_ACCESS_TOKEN=${{ fromJSON(steps.secrets.outputs.vault).ARTIFACTORY_ACCESS_TOKEN }}
npm ci
npm run td
- name: Publish typedoc site
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh_pages
folder: ./typedoc/site
target-folder: ./typedoc
commit-message: "Update the bridge helper functions site"