imported spec #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish OpenAPI to GitHub Pages | |
on: | |
push: | |
branches: [master] | |
jobs: | |
gh-release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/[email protected] | |
with: | |
node-version: '16.x' | |
- name: Build | |
run: | | |
npm ci | |
npm run build | |
npm run html | |
- name: Deploy to GitHub Pages | |
run : npm run deploy | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |