1
0
mirror of https://github.com/mainflux/mainflux.git synced 2025-04-24 13:48:49 +08:00
Drasko DRASKOVIC cea1def6a8
Correct Codeball permissions (#1746)
Signed-off-by: Drasko Draskovic <drasko.draskovic@gmail.com>
2023-03-14 23:21:17 +01:00

28 lines
602 B
YAML

name: Deploy GitHub Pages
on:
push:
branches:
- master
jobs:
swagger-ui:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Swagger UI action
id: swagger-ui-action
uses: blokovi/swagger-ui-action@main
with:
dir: './api/openapi'
pattern: '*.yml'
debug: 'true'
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: swagger-ui
cname: api.mainflux.io