Skip to content

Update swagger-ui-dist to ^5.20.5 (#1832) #878

Update swagger-ui-dist to ^5.20.5 (#1832)

Update swagger-ui-dist to ^5.20.5 (#1832) #878

Workflow file for this run

name: Build and Deploy LoopBack.io site
on:
push:
branches:
- gh-pages
workflow_dispatch:
branches:
- gh-pages
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Use Node.js 18
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
with:
node-version: 18
- name: Set up Ruby 3.2
uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1.229.0
with:
ruby-version: 3.2
- name: Install and Build 🔧
run: |
bundle install
npm install
npm ls @loopback/docs 2>/dev/null || true
npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@6c2d9db40f9296374acc17b90404b6e8864128c8 # v4.7.3
with:
ssh-key: ${{ secrets.DEPLOY_KEY }}
branch: gh-pages
folder: .