From d6f73d2df38f310baaf71e7ba5d38b593f42a1bc Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Mon, 25 Oct 2021 15:51:22 +0200 Subject: [PATCH] Stop rebuilding matrix.org (#3454) the matrix.org site no longer uses anything from this build, so let's stop rebuilding it. --- .github/workflows/main.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0ee1a84f..42befa19 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,7 +8,7 @@ on: jobs: build-openapi: - name: "🐍 Build OpenAPI definitions for matrix.org" + name: "🐍 Build OpenAPI definitions" runs-on: ubuntu-latest container: "python:3.9" steps: @@ -66,13 +66,3 @@ jobs: with: name: spec-artifact path: spec.tar.gz - - rebuild-matrixdotorg: - name: "👷 Rebuild matrix.org" - needs: build-openapi - runs-on: ubuntu-latest - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} - steps: - - name: "🪄 Triggering rebuild of matrix.org" - run: | - curl -XPOST -u "${{secrets.TRIGGER_MATRIXORG_REBUILD_TOKEN}}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/${{ github.repository_owner }}/matrix.org/actions/workflows/build-matrix.org.yml/dispatches --data '{"ref": "master" }'