Skip to content

build(deps): bump google.golang.org/grpc from 1.56.1 to 1.56.2 (#1191) #4954

build(deps): bump google.golang.org/grpc from 1.56.1 to 1.56.2 (#1191)

build(deps): bump google.golang.org/grpc from 1.56.1 to 1.56.2 (#1191) #4954

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@v3
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@v3
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/github-pages-deploy-action@v4.4.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: swagger-pages
folder: client/docs