fix(workflow): run on main branch and prs only, run docs build on prs
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 36s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 41s

This commit is contained in:
cswimr 2025-01-26 00:43:02 +00:00
parent 2859f93501
commit 18ba837467
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -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: