Skip to content

package.json追加

package.json追加 #2

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [ main ]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install @redocly/cli
run: npm install @redocly/cli@1.2.0 -g
- name: Build
run: redocly build-docs cuculus-openapi.yaml
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: ./redoc-static.html