diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d830bdc8..dcdab94a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -43,10 +43,12 @@ jobs: - name: Build docs run: cd docs && make deploy - name: Upload artifact + if: github.ref == 'refs/head/main' uses: actions/upload-pages-artifact@v1 with: # Upload entire repository path: 'docs/_build/dirhtml' - name: Deploy to GitHub Pages + if: github.ref == 'refs/head/main' id: deployment uses: actions/deploy-pages@v1 diff --git a/.github/workflows/pre-release.yaml b/.github/workflows/pre-release.yaml index d1e64538..bf04a713 100644 --- a/.github/workflows/pre-release.yaml +++ b/.github/workflows/pre-release.yaml @@ -3,9 +3,6 @@ name: Publish pre-release package on: schedule: - cron: "0 0 * * *" - push: - branches: - - luc/test31 workflow_dispatch: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fe770e44..9a205426 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,8 +3,6 @@ on: push: tags: - v* - branches: - - luc/test31 # Added this line jobs: create-release: