Skip to content

fix(deps): update module github.com/gophercloud/utils/v2 to v2.0.0-20… #439

fix(deps): update module github.com/gophercloud/utils/v2 to v2.0.0-20…

fix(deps): update module github.com/gophercloud/utils/v2 to v2.0.0-20… #439

name: update-swagger-ghpages
on:
push:
tags:
- v*
branches: [ main ]
jobs:
build-documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: gh-pages
- name: redoc-cli generate index.html
uses: fluximus-prime/redocly-cli-github-action@v1.0.2
with:
args: 'build-docs https://raw.githubusercontent.com/sapcc/archer/main/swagger.yaml -o index.html'
- name: Commit documentation
run: |
git config --global user.name 'GitHub Pages Bot'
git config --global user.email 'gh-pages@users.noreply.github.com'
git commit -am "Update swagger.yml" || true
git push