fix(workflow): run on main branch and prs only, run docs build on prs
This commit is contained in:
parent
2859f93501
commit
18ba837467
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
name: Actions
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
|
@ -27,7 +29,6 @@ jobs:
|
|||
|
||||
docs:
|
||||
name: Build Documentation (MkDocs)
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||
runs-on: docker
|
||||
container: www.coastalcommits.com/cswimr/actions:docs@sha256:e405cd6b9b1182a570ddee32ed8dd1b2f899edc625d006c8b4b2f18c100e724f
|
||||
steps:
|
||||
|
|
Loading…
Add table
Reference in a new issue