From b92241391a815e384a965de8cd8697af4385fa1f Mon Sep 17 00:00:00 2001 From: Robert Niederreiter Date: Mon, 22 Jan 2024 17:24:31 +0100 Subject: [PATCH] update github workflows --- .github/workflows/codestyle.yml | 2 +- .github/workflows/docs.yml | 4 ++-- .github/workflows/mypy.yml | 2 +- .github/workflows/test.yaml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codestyle.yml b/.github/workflows/codestyle.yml index 05a565e..642885f 100644 --- a/.github/workflows/codestyle.yml +++ b/.github/workflows/codestyle.yml @@ -1,6 +1,6 @@ name: Lint -on: [push, pull_request] +on: [push] jobs: lint: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index b06ad33..ecd2fae 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,6 +1,6 @@ name: Docs -on: [push, pull_request, workflow_dispatch] +on: [push, workflow_dispatch] jobs: docs: @@ -23,7 +23,7 @@ jobs: - name: Deploy uses: peaceiris/actions-gh-pages@v3 - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/develop' }} + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} with: publish_branch: gh-pages github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index 0860ee8..27dada7 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -1,6 +1,6 @@ name: mypy -on: [push, pull_request] +on: [push] jobs: build: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index ec576c6..90db2b9 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,6 +1,6 @@ name: Test mxmake -on: [push, pull_request] +on: [push] jobs: build: