Skip to content

Merge pull request #2643 from Automattic/release/wp-job-manager-2.1.0 #25

Merge pull request #2643 from Automattic/release/wp-job-manager-2.1.0

Merge pull request #2643 from Automattic/release/wp-job-manager-2.1.0 #25

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