Skip to content

Add 'secret' option type #13

Add 'secret' option type

Add 'secret' option type #13

Workflow file for this run

name: publish docs
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'packages/clide-js/src/**'
- 'README.md'
- '.github/workflows/docs.yml'
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: 'pages'
cancel-in-progress: false
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup node.js environment
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'yarn'
- name: install Yarn
run: npm i -g yarn
- name: install dependencies
run: yarn --frozen-lockfile
- name: build
run: yarn workspace clide-js build:docs
- name: setup pages
uses: actions/configure-pages@v4
- name: upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: './packages/clide-js/docs'
- name: deploy to github pages
id: deployment
uses: actions/deploy-pages@v3