Skip to content

build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 (#394) #523

build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 (#394)

build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 (#394) #523

Workflow file for this run

on:
push:
branches:
- master
name: Generate docs
permissions:
contents: read
jobs:
build:
permissions:
contents: write # for Git to git push
name: Release
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: "go.mod"
id: go
- name: Generate docs
run: go run ./tools/docs/main.go
- name: Commit changes
continue-on-error: true
run: |
git config user.email "[email protected]"
git config user.name "Automated docs generator"
git checkout .
git checkout docs --
mv tmp-docs/* ./
git add *
git commit -m "Updated docs"
- name: Push changes
if: ${{ success() }}
run: |
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
git push