docs: Update docs and ci again

This commit is contained in:
tt2468 2021-04-26 17:35:19 -07:00
parent b5cd2c11a0
commit 8d26465bb0
2 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ name: 'Generate docs'
on:
push:
paths-ignore:
- 'docs/**'
- 'docs/generated/**'
branches:
- master

View File

@ -22,10 +22,10 @@ REMOTE_URL="$(git config remote.origin.url)"
TARGET_REPO=${REMOTE_URL/https:\/\/github.com\//github.com/}
GITHUB_REPO=https://${GH_TOKEN:-git}@${TARGET_REPO}
git config user.name "Azure CI"
git config user.name "Github Actions"
git config user.email "$COMMIT_AUTHOR_EMAIL"
git add ./generated
git pull
git commit -m "docs(ci): Update protocol.md - $(git rev-parse --short HEAD) [skip ci]"
git push -q $GITHUB_REPO
git commit -m "docs(ci): Update generated docs - $(git rev-parse --short HEAD) [skip ci]"
git push -q $GITHUB_REPO