diff --git a/.github/workflows/pelican.yml b/.github/workflows/pelican.yml index c263e7db..af84e869 100644 --- a/.github/workflows/pelican.yml +++ b/.github/workflows/pelican.yml @@ -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: @@ -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 }}