Skip to content

Commit

Permalink
DOC: publish documentation at every push to the main branch
Browse files Browse the repository at this point in the history
dnicolodi authored and rgommers committed Oct 25, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent e16873d commit 60df4b6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -6,8 +6,12 @@ name: docs

on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
branches:
- main
paths:
- docs/**
- CHANGELOG.rst
- README.md
pull_request:
branches:
- main
@@ -16,10 +20,6 @@ on:
- docs/**
- CHANGELOG.rst
- README.md
workflow_dispatch:
inputs:
tag:
required: true

jobs:

@@ -46,6 +46,6 @@ jobs:
environment:
name: github-pages
runs-on: ubuntu-latest
if: ${{ github.event_name == 'workflow_dispatch' || github.ref_type == 'tag' }}
if: ${{ github.ref == 'refs/heads/main' }}
steps:
- uses: actions/deploy-pages@v4

0 comments on commit 60df4b6

Please sign in to comment.