Skip to content

build(deps): bump cosmos-sdk to v0.47.10 (#1323) #5409

build(deps): bump cosmos-sdk to v0.47.10 (#1323)

build(deps): bump cosmos-sdk to v0.47.10 (#1323) #5409

Workflow file for this run

name: Docs
# Docs build and publishes the Vuepress documentation website.
# This workflow is run on every pull request and push on master.
# The deployment of the docs is made only on each push on master.
on:
pull_request:
push:
branches:
- master
jobs:
Generate-Swagger-and-Deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout PR 🛎️
if: ${{ github.event_name == 'pull_request' }}
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- name: Checkout branch 🛎️
if: ${{ github.event_name != 'pull_request' }}
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Build 🔧
run:
sudo make proto-swagger-gen && sudo chown -R $USER .
- name: Commit ✅
uses: endbug/add-and-commit@v9
with:
add: "client/docs"
message: "docs: update Swagger definition"
push: true
- name: Deploy 🚀
if: github.ref == 'refs/heads/master'
uses: JamesIves/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: swagger-pages
folder: client/docs