Skip to content

Commit

Permalink
Combine caller workflows into one file
Browse files Browse the repository at this point in the history
  • Loading branch information
seanh committed Oct 14, 2024
1 parent 3e59c13 commit 48cbb24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/build.yml

This file was deleted.

4 changes: 3 additions & 1 deletion .github/workflows/pelican.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Deploy
on:
pull_request:
push:
branches: ["main"]
workflow_dispatch:
workflow_call:
jobs:
Deploy:
uses: seanh/pelican/.github/workflows/github_pages.yml@pelican_decouple_build_workflow-single-file
Expand All @@ -14,4 +16,4 @@ jobs:
settings: "publishconf.py"
requirements: "pelican[markdown] typogrify"
theme: "https://github.com/seanh/sidecar.git"
deploy: true
deploy: github.event_name != "pull_request" && github.ref_type == "branch" && github.ref == "main"

0 comments on commit 48cbb24

Please sign in to comment.