Skip to content

Merge pull request #2615 from Automattic/fix/plugin-zip-upload #12

Merge pull request #2615 from Automattic/fix/plugin-zip-upload

Merge pull request #2615 from Automattic/fix/plugin-zip-upload #12

Workflow file for this run

name: Deploy GitHub Pages
on:
push:
branches:
- trunk
- workflow_dispatch
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v3
- name: Generate Swagger UI
uses: Legion2/swagger-ui-action@v1
with:
output: swagger-ui
spec-file: ./docs/api/internal.json
version: "^4.18.0"
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: swagger-ui
destination_dir: api/internal