fix(deps): update module github.com/gophercloud/utils/v2 to v2.0.0-20… #439
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: 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 |