fix(workflow): Updates workflow for docs (#528)

This commit is contained in:
Kamron Batman 2021-02-27 20:14:19 -08:00 committed by GitHub
parent ab4294f4d6
commit af021f748a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -2,9 +2,9 @@ name: Build
on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]
jobs:
build:

View file

@ -1,12 +1,12 @@
name: Updates Docs
on:
push:
branches:
- main
repository_dispatch:
types: [docs]
jobs:
update-docs:
runs-on: ubuntu-latest
if: "contains(github.event.head_commit.message, 'docs') || contains(github.event.head_commit.message, 'documentation')"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2