Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
seanh committed Oct 14, 2024
1 parent 800900d commit 8458ce1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/pelican.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ on:
workflow_dispatch:
workflow_call:
jobs:
Debug:
runs-on: ubuntu-latest
steps:
- run: echo "${{ github.event.repository.default_branch }}"
Deploy:
uses: seanh/pelican/.github/workflows/github_pages.yml@pelican_decouple_build_workflow-single-file
permissions:
Expand All @@ -20,4 +16,4 @@ jobs:
settings: "publishconf.py"
requirements: "pelican[markdown] typogrify"
theme: "https://github.com/seanh/sidecar.git"
deploy: ${{ github.event_name != 'pull_request' && github.ref_type == 'branch' && github.ref_name == 'main' }}
deploy: ${{ github.ref_type == 'branch' && github.ref_name == github.event.repository.default_branch }}

0 comments on commit 8458ce1

Please sign in to comment.