Skip to content

build(deps): bump github.com/golangci/golangci-lint from 1.55.1 to 1.… #5232

build(deps): bump github.com/golangci/golangci-lint from 1.55.1 to 1.…

build(deps): bump github.com/golangci/golangci-lint from 1.55.1 to 1.… #5232

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