fix(workflow): Updates workflow for docs (#528)
This commit is contained in:
parent
ab4294f4d6
commit
af021f748a
2 changed files with 6 additions and 6 deletions
4
.github/workflows/build-test.yml
vendored
4
.github/workflows/build-test.yml
vendored
|
|
@ -2,9 +2,9 @@ name: Build
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
|
|||
8
.github/workflows/update-docs.yml
vendored
8
.github/workflows/update-docs.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue