Skip to content

Commit

Permalink
wip: testing workflow dispatch on push to dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ciatph committed Sep 13, 2024
1 parent c0c653a commit eba8f1d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Build and Deploy Docs

on:
push:
branches:
- dev # Automatically trigger on pushes to the dev branch
release:
types: [published] # Automatically trigger on new releases
workflow_dispatch: # Allows manual triggering of the workflow
Expand Down Expand Up @@ -36,6 +39,7 @@ jobs:
name: Deploy docs to Github Pages
needs: build-docs
runs-on: ubuntu-latest
if: github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/dev')
steps:
- name: Download Artifact
uses: actions/download-artifact@v4
Expand Down

0 comments on commit eba8f1d

Please sign in to comment.