Skip to content

Use snapshot tag for public uilib in docuilib package.json (#3638) #108

Use snapshot tag for public uilib in docuilib package.json (#3638)

Use snapshot tag for public uilib in docuilib package.json (#3638) #108

Workflow file for this run

name: Deploy Documentation
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
permissions:
contents: write # Needed for pushing to gh-pages
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Build documentation
run: yarn docs:build
- name: Deploy documentation
env:
GIT_USER: github-actions[bot]
GIT_PASS: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
cd docuilib
yarn install
yarn deploy