Skip to content

JS-466 Sync rspec (#5000) #760

JS-466 Sync rspec (#5000)

JS-466 Sync rspec (#5000) #760

Workflow file for this run

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"